update telescope and treesitter for nvim v0.12

This commit is contained in:
Johannes Knopp
2026-04-10 14:08:56 +02:00
parent 63f99ff01a
commit 252c88b869
9 changed files with 46 additions and 43 deletions

View File

@ -85,7 +85,16 @@ return {
-- Explicitly enable all mason-managed servers.
-- This is belt-and-suspenders alongside mason-lspconfig's automatic_enable,
-- ensuring servers start regardless of mason-lspconfig version.
vim.lsp.enable({ 'lua_ls', 'html', 'cssls', 'bashls', 'ts_ls', 'eslint', 'tailwindcss' })
vim.lsp.enable({ 'lua_ls', 'html', 'cssls', 'bashls', 'ts_ls', 'eslint', 'tailwindcss', 'mdx_analyzer' })
-- mdx_analyzer: needs typescript SDK path to find tsserverlibrary.js
vim.lsp.config('mdx_analyzer', {
init_options = {
typescript = {
tsdk = vim.fn.stdpath('data') .. '/mason/packages/typescript-language-server/node_modules/typescript/lib',
},
},
})
-- hyprls: not managed by mason, enable manually
vim.lsp.config('hyprls', {