Updated a bunch of configs

This commit is contained in:
Lol3rrr
2026-01-20 11:59:23 +01:00
parent 6f5ffca775
commit ea27234ab1
6 changed files with 31 additions and 25 deletions

View File

@@ -41,13 +41,15 @@ vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]])
-- Setup language servers.
vim.lsp.enable('pyright')
vim.lsp.enable('tsserver')
vim.lsp.enable('rust_analyzer')
vim.lsp.config('rust_analyzer', {
-- Not needed here anymore because this stuff is already done by the rustacean plugin
--vim.lsp.enable('rust_analyzer')
--vim.lsp.config('rust_analyzer', {
-- Server-specific settings. See `:help lspconfig-setup`
settings = {
['rust-analyzer'] = {},
},
})
-- settings = {
-- ['rust-analyzer'] = {
-- },
-- },
--})
-- Setup Treesitter
require'nvim-treesitter'.setup {