From a6de192e22875fdaa22f1fced7ca1265b940a345 Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:59:54 +0100 Subject: [PATCH] fix: casing of filetypes --- .../server_configurations/ast_grep.lua | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/lua/lspconfig/server_configurations/ast_grep.lua b/lua/lspconfig/server_configurations/ast_grep.lua index 32b51266af..eba37d6bf3 100644 --- a/lua/lspconfig/server_configurations/ast_grep.lua +++ b/lua/lspconfig/server_configurations/ast_grep.lua @@ -4,21 +4,19 @@ return { default_config = { cmd = { 'ast-grep', 'lsp' }, filetypes = { -- https://ast-grep.github.io/reference/languages.html - 'C', - 'C++', - 'Rust', - 'Go', - 'Java', - 'Python', - 'C#', - 'JavaScript', - 'JSX', - 'TypeScript', - 'HTML', - 'CSS', - 'Kotlin', - 'Dart', - 'Lua', + 'c', + 'cpp', + 'rust', + 'go', + 'java', + 'python', + 'javascript', + 'typescript', + 'html', + 'css', + 'kotlin', + 'dart', + 'lua', }, root_dir = util.root_pattern 'sgconfig.yaml', single_file_support = true,