Removed zls from mason to install it manually. The version is not up to date

This commit is contained in:
roodletoof
2023-08-12 11:27:32 +02:00
parent 43f7545541
commit 88209ade77
+5 -1
View File
@@ -103,6 +103,8 @@ local function packer_startup(use)
use 'nvim-tree/nvim-tree.lua' -- File explorer.
use 'nvim-tree/nvim-web-devicons' -- Provides Pretty icons to look at. Makes the plugin above and below pretty.
use 'nvim-lualine/lualine.nvim' -- Provides file information on status bar on the bottom of the wihdow.
use 'nvim-treesitter/nvim-treesitter' -- Provides syntax highlighting for many lanugages.
use 'hrsh7th/nvim-cmp' -- Autocompletion framework
@@ -154,6 +156,8 @@ local function packer_startup(use)
require'nvim-tree'.setup()
vim.keymap.set('n', keymap.navigation_toggle_file_explorer, '<cmd>NvimTreeFindFileToggle<CR>', {silent = true})
require'lualine'.setup{}
require('nvim-treesitter.configs').setup {
ensure_installed = 'all',
sync_install = false,
@@ -221,7 +225,7 @@ local function packer_startup(use)
require('mason-lspconfig').setup{
ensure_installed = {
'clangd', 'golangci_lint_ls', 'kotlin_language_server',
'ltex', 'lua_ls', 'marksman', 'pyright', 'zls', 'rust_analyzer'
'ltex', 'lua_ls', 'marksman', 'pyright', 'rust_analyzer'
}
}
local capabilities = require('cmp_nvim_lsp').default_capabilities()