diff options
| author | awy <awy@awy.one> | 2025-11-16 18:12:11 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-16 18:12:11 +0300 |
| commit | ad205a6812ddbcfb73c73a7e6b7a9acbb5267d53 (patch) | |
| tree | c739bcc0093648db96ea3f7d743c486691139d53 /.config/nvim/lsp/mdx_analyzer.lua | |
| parent | 5764990192e805fe32743dc311813ac8b396e8b2 (diff) | |
| download | mangoslice-ad205a6812ddbcfb73c73a7e6b7a9acbb5267d53.tar.gz | |
nvim
Diffstat (limited to '.config/nvim/lsp/mdx_analyzer.lua')
| -rw-r--r-- | .config/nvim/lsp/mdx_analyzer.lua | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.config/nvim/lsp/mdx_analyzer.lua b/.config/nvim/lsp/mdx_analyzer.lua deleted file mode 100644 index 3ff8136..0000000 --- a/.config/nvim/lsp/mdx_analyzer.lua +++ /dev/null @@ -1,22 +0,0 @@ ----@brief ---- https://github.com/mdx-js/mdx-analyzer ---- ---- `mdx-analyzer`, a language server for MDX - -local util = require 'lspconfig.util' - ----@type vim.lsp.Config -return { - cmd = { 'mdx-language-server', '--stdio' }, - filetypes = { 'mdx' }, - root_markers = { 'package.json' }, - settings = {}, - 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, -} |