From a6a5e9e04671e9dc80352086079c594e6b693435 Mon Sep 17 00:00:00 2001 From: frosty Date: Sun, 25 Aug 2024 02:03:27 -0400 Subject: [PATCH] another regular minor update --- lua/frosty/options.lua | 1 + lua/frosty/plugins/lspconfig.lua | 6 +++--- lua/frosty/plugins/treesitter.lua | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lua/frosty/options.lua b/lua/frosty/options.lua index 9188286..e480d8b 100644 --- a/lua/frosty/options.lua +++ b/lua/frosty/options.lua @@ -5,3 +5,4 @@ vim.o.termguicolors = true vim.o.showmode = false vim.o.clipboard = 'unnamedplus' vim.o.swapfile = false +vim.g.netrw_banner = false diff --git a/lua/frosty/plugins/lspconfig.lua b/lua/frosty/plugins/lspconfig.lua index 4d438e8..db3570b 100644 --- a/lua/frosty/plugins/lspconfig.lua +++ b/lua/frosty/plugins/lspconfig.lua @@ -27,14 +27,14 @@ return { lspconfig['rust_analyzer'].setup({ capabilities = capabilities }) - lspconfig['gopls'].setup({ - capabilities = capabilities - }) lspconfig['bashls'].setup({ capabilities = capabilities, settings = { filetypes = { 'sh', 'zsh' } } }) + lspconfig['gopls'].setup({ + capabilities = capabilities + }) end } diff --git a/lua/frosty/plugins/treesitter.lua b/lua/frosty/plugins/treesitter.lua index 7c8743f..4ff1329 100644 --- a/lua/frosty/plugins/treesitter.lua +++ b/lua/frosty/plugins/treesitter.lua @@ -2,9 +2,12 @@ return { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { - ensure_installed = { 'c', 'lua', 'vim', 'yaml', 'toml', 'markdown', 'vimdoc', 'bash', 'html', 'python', 'haskell', 'rust', 'go' }, + ensure_installed = { 'lua', 'bash', 'go', 'rust', 'python', 'haskell', 'vim', 'vimdoc', 'yaml', 'toml', 'markdown', 'html' }, sync_install = false, highlight = { enable = true }, indent = { enable = true } - } + }, + config = function() + vim.cmd('TSEnable highlight') + end }