diff options
Diffstat (limited to 'vim/.config/nvim/lsp/astro.lua')
| -rw-r--r-- | vim/.config/nvim/lsp/astro.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/astro.lua b/vim/.config/nvim/lsp/astro.lua new file mode 100644 index 0000000..45a9e8b --- /dev/null +++ b/vim/.config/nvim/lsp/astro.lua @@ -0,0 +1,10 @@ +return { + cmd = { 'astro-ls', '--stdio' }, + filetypes = { 'astro' }, + root_markers = { 'package.json', 'tsconfig.json', 'jsconfig.json', '.git', '.jj' }, + init_options = { + typescript = { + tsdk = "./node_modules/typescript/lib" + }, + }, +} |
