Removed zls from mason to install it manually. The version is not up to date
This commit is contained in:
@@ -103,6 +103,8 @@ local function packer_startup(use)
|
|||||||
|
|
||||||
use 'nvim-tree/nvim-tree.lua' -- File explorer.
|
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-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 'nvim-treesitter/nvim-treesitter' -- Provides syntax highlighting for many lanugages.
|
||||||
|
|
||||||
use 'hrsh7th/nvim-cmp' -- Autocompletion framework
|
use 'hrsh7th/nvim-cmp' -- Autocompletion framework
|
||||||
@@ -154,6 +156,8 @@ local function packer_startup(use)
|
|||||||
require'nvim-tree'.setup()
|
require'nvim-tree'.setup()
|
||||||
vim.keymap.set('n', keymap.navigation_toggle_file_explorer, '<cmd>NvimTreeFindFileToggle<CR>', {silent = true})
|
vim.keymap.set('n', keymap.navigation_toggle_file_explorer, '<cmd>NvimTreeFindFileToggle<CR>', {silent = true})
|
||||||
|
|
||||||
|
require'lualine'.setup{}
|
||||||
|
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
ensure_installed = 'all',
|
ensure_installed = 'all',
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
@@ -221,7 +225,7 @@ local function packer_startup(use)
|
|||||||
require('mason-lspconfig').setup{
|
require('mason-lspconfig').setup{
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
'clangd', 'golangci_lint_ls', 'kotlin_language_server',
|
'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()
|
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||||
|
|||||||
Reference in New Issue
Block a user