fix: lsp setup improved

This commit is contained in:
dqnid committed 2025-05-30 15:32:10 +02:00
1 parent d3de5b76fb
commit eba3271e27
7 files changed
+27 -22

No files matched your search

+4 -1
View File
@@ -1,5 +1,8 @@
return {
cmd = { 'astro-ls', '--stdio' },
filetypes = { 'astro' },
root_markers = { '.git', 'astro.config.mjs', 'astro.config.js', 'astro.config.ts' },
root_markers = { 'astro.config.mjs', 'astro.config.js', 'astro.config.ts' },
init_options = {
typescript = { tsdk = "./node_modules/typescript/lib" }
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
return {
cmd = { 'lua-language-server' },
filetypes = { 'lua' },
root_markers = { '.luarc.json', '.luarc.jsonc', 'init.lua' },
root_markers = { '.luarc.json', '.luarc.jsonc', '.git' },
}