some ts_server updates

This commit is contained in:
smoon 2025-05-24 18:32:35 -07:00
parent 578f8c5f48
commit 6029ee537a

View file

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false
vim.g.have_nerd_font = true
-- [[ Setting options ]]
-- See `:help vim.opt`
@ -628,13 +628,34 @@ require('lazy').setup({
-- But for many setups, the LSP (`tsserver`) will work just fine
-- tsserver = {},
--
volar = {},
jedi_language_server = {},
intelephense = {},
terraformls = {},
templ = {
filetypes = { 'templ' },
},
tsserver = {},
ts_ls = {
settings = {
implicitProjectConfiguration = {
checkJs = true,
},
},
init_options = {
plugins = {
{
name = '@vue/typescript-plugin',
location = '/home/ocxm/.asdf/installs/nodejs/23.2.0/lib/node_modules/@vue/typescript-plugin',
languages = { 'javascript', 'typescript', 'vue' },
},
},
},
filetypes = {
'javascript',
'typescript',
'vue',
},
},
gopls = {
settings = {
gopls = {
@ -912,7 +933,23 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
ensure_installed = {
'bash',
'c',
'diff',
'go',
'html',
'javascript',
'lua',
'luadoc',
'markdown',
'markdown_inline',
'php',
'query',
'terraform',
'vim',
'vimdoc',
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {