update conf
This commit is contained in:
@ -62,15 +62,18 @@ return {
|
||||
})
|
||||
|
||||
-- ts_ls: TypeScript/JavaScript/JSX/TSX
|
||||
-- vim.lsp.config('ts_ls', {
|
||||
-- cmd = { 'typescript-language-server', '--stdio' },
|
||||
-- filetypes = {
|
||||
-- 'javascript',
|
||||
-- 'javascriptreact',
|
||||
-- 'typescript',
|
||||
-- 'typescriptreact',
|
||||
-- },
|
||||
-- })
|
||||
vim.lsp.config('ts_ls', {
|
||||
cmd = { 'typescript-language-server', '--stdio' },
|
||||
filetypes = {
|
||||
'javascript',
|
||||
'javascriptreact',
|
||||
'typescript',
|
||||
'typescriptreact',
|
||||
},
|
||||
init_options = {
|
||||
hostInfo = 'neovim',
|
||||
},
|
||||
})
|
||||
|
||||
-- eslint: linting for JS/TS/React projects
|
||||
vim.lsp.config('eslint', {
|
||||
|
||||
Reference in New Issue
Block a user