From 7f9cb6e767a4b136ccf043b2ade6e48e4117db8a Mon Sep 17 00:00:00 2001 From: gyoder <70408179+gyoder@users.noreply.github.com> Date: Wed, 30 Jul 2025 11:58:47 -0600 Subject: nvim: many changes --- vim/.config/nvim/lsp/astro.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vim/.config/nvim/lsp/astro.lua (limited to 'vim/.config/nvim/lsp/astro.lua') diff --git a/vim/.config/nvim/lsp/astro.lua b/vim/.config/nvim/lsp/astro.lua new file mode 100644 index 0000000..d53f1ca --- /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' }, + init_options = { + typescript = { + tsdk = "./node_modules/typescript/lib" + }, + }, +} -- cgit v1.3.1