diff options
author | awy <awy@awy.one> | 2025-10-18 00:10:58 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-10-18 00:10:58 +0300 |
commit | abf932d721142a35e01a57ab9187ca35896cb237 (patch) | |
tree | 2cce67586b1792f33fd703072673b2a0767b473e /.config/nvim/lsp/astro.lua | |
parent | de009fd679e10d053fdcc10785f91ad5317449ea (diff) | |
download | hyprdots-abf932d721142a35e01a57ab9187ca35896cb237.tar.gz |
revert
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, -} |