Compare commits

..

2 commits

Author SHA1 Message Date
dbde641e35 disable formatter for php 2025-09-10 15:02:59 -03:00
4458a8755e add go tools to nvim 2025-09-10 08:31:29 -03:00
4 changed files with 11 additions and 2 deletions

View file

@ -164,6 +164,7 @@ vim.lsp.enable({
"biome",
"fish_lsp",
"gleam",
"gopls",
"hyprls",
"intelephense",
"jsonls",

View file

@ -62,6 +62,14 @@ return {
config = function(_, opts)
require("conform").setup(opts)
vim.api.nvim_create_autocmd("FileType", {
pattern = { "php" },
callback = function(bufnr)
vim.b[bufnr].disable_autoformat
end,
})
end,
local function toggleAutoFormat()
-- to make this global, change b to g
if vim.b.disable_autoformat == nil then

View file

@ -21,7 +21,7 @@ return {
init = function()
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
vim.api.nvim_create_autocmd("FileType", {
pattern = { "gleam" },
pattern = { "gleam", "go" },
callback = function()
vim.treesitter.start()
end,

View file

@ -5,7 +5,7 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_QPA_PLATFORMTHEME=qt5ct
export MOZ_ENABLE_WAYLAND=1
export XCURSOR_SIZE=24
export GTK_THEME=catppuccin-macchiato-teal-standard+default
export GTK_THEME=catppuccin-macchiato-teal-standard-default
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/rbw/ssh-agent-socket
export EDITOR=nvim