add go tools to nvim
This commit is contained in:
parent
9abd5dde3f
commit
4458a8755e
3 changed files with 3 additions and 2 deletions
|
|
@ -164,6 +164,7 @@ vim.lsp.enable({
|
||||||
"biome",
|
"biome",
|
||||||
"fish_lsp",
|
"fish_lsp",
|
||||||
"gleam",
|
"gleam",
|
||||||
|
"gopls",
|
||||||
"hyprls",
|
"hyprls",
|
||||||
"intelephense",
|
"intelephense",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ return {
|
||||||
init = function()
|
init = function()
|
||||||
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
|
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = { "gleam" },
|
pattern = { "gleam", "go" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.treesitter.start()
|
vim.treesitter.start()
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
export XCURSOR_SIZE=24
|
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 SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/rbw/ssh-agent-socket
|
||||||
|
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue