diff options
| author | ergou <ma2808203259@hotmail.com> | 2025-10-01 08:50:19 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 15:50:19 -0700 |
| commit | 421fa7fd60ce9ce12e4914d2917d2ac35c8596de (patch) | |
| tree | fb3c4c2b5bf3be11f91d4fc9ae3ba7b779b47fa6 /lsp/ast_grep.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar.gz nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar.bz2 nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar.lz nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar.xz nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.tar.zst nvim-lspconfig-421fa7fd60ce9ce12e4914d2917d2ac35c8596de.zip | |
feat(ast_grep): update filetypes #4106
* feat(ast_grep): update the filetypes
* revert: revert changes in side `lus/lspconfig/config` as deprecated
Diffstat (limited to 'lsp/ast_grep.lua')
| -rw-r--r-- | lsp/ast_grep.lua | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/lsp/ast_grep.lua b/lsp/ast_grep.lua index 47388a98..0cf9e72d 100644 --- a/lsp/ast_grep.lua +++ b/lsp/ast_grep.lua @@ -17,23 +17,34 @@ return { return client.config.cmd_cwd == config.cmd_cwd end, filetypes = { -- https://ast-grep.github.io/reference/languages.html + 'bash', 'c', 'cpp', - 'rust', + 'csharp', + 'css', + 'elixir', 'go', + 'haskell', + 'html', 'java', - 'python', 'javascript', 'javascriptreact', 'javascript.jsx', + 'json', + 'kotlin', + 'lua', + 'nix', + 'php', + 'python', + 'ruby', + 'rust', + 'scala', + 'solidity', + 'swift', 'typescript', 'typescriptreact', 'typescript.tsx', - 'html', - 'css', - 'kotlin', - 'dart', - 'lua', + 'yaml', }, root_markers = { 'sgconfig.yaml', 'sgconfig.yml' }, } |
