update conf

This commit is contained in:
Johannes Knopp
2026-06-22 01:55:20 +02:00
parent ef4b3aa8e0
commit 9bd023ce2c
5 changed files with 19 additions and 26 deletions

View File

@ -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', {