diff --git a/lua/plugins/autocompletion.lua b/lua/plugins/autocompletion.lua index a85c7202..d14bdfa6 100644 --- a/lua/plugins/autocompletion.lua +++ b/lua/plugins/autocompletion.lua @@ -31,8 +31,8 @@ return { mapping = cmp.mapping.preset.insert { [''] = cmp.mapping.select_next_item(), [''] = cmp.mapping.select_prev_item(), - [''] = cmp.mapping.scroll_docs(-4), - [''] = cmp.mapping.scroll_docs(4), + [''] = cmp.mapping.scroll_docs(-4), + [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete {}, [''] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 122cda60..a35480b1 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -33,7 +33,7 @@ return { -- LSP Configuration & Plugins 'neovim/nvim-lspconfig', dependencies = { - 'williamboman/mason.nvim', + { 'williamboman/mason.nvim', config = true }, 'williamboman/mason-lspconfig.nvim', -- Useful status updates for LSP diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index f440189e..42e19d64 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -51,14 +51,14 @@ return { build = ':TSUpdate', config = function() vim.defer_fn(function() - -- FIX: Missing required fields in type `TSConfig` require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' }, - -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, - + sync_install = false, + ignore_install = {}, + modules = {}, highlight = { enable = true }, indent = { enable = true }, incremental_selection = {