pyright 추가 및 사용 안하는 react extension 제거
This commit is contained in:
parent
caa80efe24
commit
98c6b1d2ea
1 changed files with 1 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ local config = function()
|
||||||
end
|
end
|
||||||
-- Enable some language servers with the additional
|
-- Enable some language servers with the additional
|
||||||
-- completion capabilities offered by nvim-cmp
|
-- completion capabilities offered by nvim-cmp
|
||||||
local servers = { 'gopls', 'erlangls'}
|
local servers = { 'gopls', 'clangd', 'tsserver', 'pyright'}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
@ -28,8 +28,6 @@ local config = function()
|
||||||
filetypes = {
|
filetypes = {
|
||||||
'typescript',
|
'typescript',
|
||||||
'javascript',
|
'javascript',
|
||||||
'javascriptreact',
|
|
||||||
'typescriptreact',
|
|
||||||
'vue',
|
'vue',
|
||||||
'json'
|
'json'
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue