Added Zig and Python lsp

This commit is contained in:
Dreaded_X 2023-11-28 12:09:48 +01:00
parent 56b21d796a
commit 7b67f931cb
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -308,7 +308,7 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter -- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'markdown', ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'markdown',
'markdown_inline', 'bash' }, 'markdown_inline', 'bash', 'zig' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = true, auto_install = true,
@ -478,7 +478,8 @@ end
local servers = { local servers = {
clangd = {}, clangd = {},
-- gopls = {}, -- gopls = {},
-- pyright = {}, pyright = {},
zls = {},
rust_analyzer = { rust_analyzer = {
-- enable clippy on save -- enable clippy on save
["rust-analyzer"] = { ["rust-analyzer"] = {