Updated a bunch of configs
This commit is contained in:
14
init.lua
14
init.lua
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user