diff options
| author | awy <awy@awy.one> | 2025-11-19 19:35:16 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-19 19:35:16 +0300 |
| commit | 790eccde5e3bb6a187a47c34fa905bab064fad71 (patch) | |
| tree | 4eeaa7b05b47442f6d72a19194e0e161159bb221 /.config/nvim/lsp/astro.lua | |
| parent | c767767a21064a4ce8cade883a3c59f2f2d32165 (diff) | |
| download | hyprdots-790eccde5e3bb6a187a47c34fa905bab064fad71.tar.gz | |
yep
Diffstat (limited to '.config/nvim/lsp/astro.lua')
| -rw-r--r-- | .config/nvim/lsp/astro.lua | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.config/nvim/lsp/astro.lua b/.config/nvim/lsp/astro.lua deleted file mode 100644 index a85aae3..0000000 --- a/.config/nvim/lsp/astro.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@brief ---- ---- https://github.com/withastro/language-tools/tree/main/packages/language-server ---- ---- `astro-ls` can be installed via `npm`: ---- ```sh ---- npm install -g @astrojs/language-server ---- ``` - -local util = require 'lspconfig.util' - ----@type vim.lsp.Config -return { - cmd = { 'astro-ls', '--stdio' }, - filetypes = { 'astro' }, - root_markers = { 'package.json', 'tsconfig.json', 'jsconfig.json', '.git' }, - init_options = { - typescript = {}, - }, - before_init = function(_, config) - if config.init_options and config.init_options.typescript and not config.init_options.typescript.tsdk then - config.init_options.typescript.tsdk = util.get_typescript_server_path(config.root_dir) - end - end, -} |