diff --git a/lua/custom/lsp.lua b/lua/custom/lsp.lua index 752259b..f0eb875 100644 --- a/lua/custom/lsp.lua +++ b/lua/custom/lsp.lua @@ -1,6 +1,4 @@ local lspconfig = require("lspconfig") -local mason_lspconfig = require("mason-lspconfig") -local cmp_nvim_lsp = require("cmp_nvim_lsp") local keymap = vim.keymap @@ -123,7 +121,7 @@ end -- Here it is used the LSP server attaches to file vim.api.nvim_create_autocmd("LspAttach", { - -- Grouping together autocommands. + -- Grouping together autocommands. -- Here we creating new group and calling it "UserLspConfig" group = vim.api.nvim_create_augroup("UserLspConfig", {}), -- callback defining logic to execute on the event diff --git a/lua/custom/treesitter.lua b/lua/custom/treesitter.lua index 1d65998..388efc8 100644 --- a/lua/custom/treesitter.lua +++ b/lua/custom/treesitter.lua @@ -1,4 +1,4 @@ -require'nvim-treesitter.configs'.setup { +require 'nvim-treesitter.configs'.setup { ensure_installed = { "python", "lua", diff --git a/plugin/providers.lua b/plugin/providers.lua new file mode 100644 index 0000000..1e00d4a --- /dev/null +++ b/plugin/providers.lua @@ -0,0 +1,3 @@ +-- Disable unneccesary providers +vim.g.loaded_ruby_provider = 0 +vim.g.loaded_perl_provider = 0