trying fixes for lsp
This commit is contained in:
parent
4be021d80a
commit
5466e911f3
@ -68,6 +68,8 @@
|
||||
colorscheme dracula
|
||||
autocmd BufEnter * :setlocal tabstop=2 shiftwidth=2 expandtab
|
||||
autocmd BufEnter *.nix :setlocal tabstop=2 shiftwidth=2 expandtab
|
||||
autocmd BufEnter *.py :setlocal tabstop=4 shiftwidth=4 expandtab
|
||||
|
||||
lua <<EOF
|
||||
-- Set up nvim-cmp.
|
||||
local cmp = require'cmp'
|
||||
@ -144,7 +146,7 @@
|
||||
-- Set up lspconfig.
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
|
||||
require('lspconfig')[rust_analyzer].setup {
|
||||
require('lspconfig')['rust_analyzer'].setup {
|
||||
capabilities = capabilities
|
||||
}
|
||||
EOF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user