diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-03 15:36:32 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-03 15:37:10 -0400 |
| commit | 22b6712c240fea0643cfc01acfce1fda1f125b8a (patch) | |
| tree | fb8ac2302793c76d3640aab7d3f74f7a57c01933 /vim/.config/nvim/lsp/astro.lua | |
nix init
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" + }, + }, +} |
