diff --git a/init.lua b/init.lua index d5ae6dc9b2a..63eae2c40c8 100644 --- a/init.lua +++ b/init.lua @@ -614,7 +614,7 @@ require('lazy').setup({ -- You can press `g?` for help in this menu. local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { - 'lua_ls', -- Lua Language server + 'lua-language-server', -- Lua Language server 'stylua', -- Used to format Lua code -- You can add other tools here that you want Mason to install }) @@ -853,7 +853,7 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', config = function() local filetypes = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' } - require('nvim-treesitter').install(filetypes) + require('nvim-treesitter').setup(filetypes) vim.api.nvim_create_autocmd('FileType', { pattern = filetypes, callback = function() vim.treesitter.start() end,