diff --git a/bin/assets/plugins/lspclient.json b/bin/assets/plugins/lspclient.json index 152a376d7..2c578643c 100644 --- a/bin/assets/plugins/lspclient.json +++ b/bin/assets/plugins/lspclient.json @@ -262,7 +262,7 @@ "name": "cmake-language-server", "url": "https://github.com/regen100/cmake-language-server", "command": "cmake-language-server", - "file_patterns": ["%.cmake$", "CMakeLists.txt$"], + "file_patterns": ["%.cmake$", "CMakeLists%.txt$"], "rootIndicationFileNames": ["build"] }, { diff --git a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/cmake.cpp b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/cmake.cpp index c30259ed0..9c40b78d9 100644 --- a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/cmake.cpp +++ b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/cmake.cpp @@ -8,7 +8,7 @@ void addCMake() { SyntaxDefinitionManager::instance()->add( { "CMake", - { "%.cmake$", "CMakeLists.txt$" }, + { "%.cmake$", "CMakeLists%.txt$" }, { { { "#", "\n" }, "comment" }, { { "\"", "\"", "\\" }, "string" }, diff --git a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/meson.cpp b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/meson.cpp index b928e992c..19e3b2d98 100644 --- a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/meson.cpp +++ b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/meson.cpp @@ -8,7 +8,7 @@ void addMeson() { SyntaxDefinitionManager::instance()->add( { "Meson", - { "meson.build$", "^meson_options.txt$" }, + { "meson%.build$", "^meson_options%.txt$" }, { { { "#", "\n" }, "comment" }, { { "\"", "\"", "\\" }, "string" }, diff --git a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/teal.cpp b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/teal.cpp index 36bc66fa3..3cf1b7d0f 100644 --- a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/teal.cpp +++ b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/teal.cpp @@ -8,7 +8,7 @@ void addTeal() { auto& sd = SyntaxDefinitionManager::instance()->add( { "Teal", - { "%.tl$", "%.d.tl$" }, + { "%.tl$", "%.d%.tl$" }, { { { "\"", "\"", "\\" }, "string" }, { { "'", "'", "\\" }, "string" }, diff --git a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/typescript.cpp b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/typescript.cpp index fd074c44b..d295e70f6 100644 --- a/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/typescript.cpp +++ b/src/modules/languages-syntax-highlighting/src/eepp/ui/doc/languages/typescript.cpp @@ -8,7 +8,7 @@ void addTypeScript() { SyntaxDefinition& ts = SyntaxDefinitionManager::instance()->add( { "TypeScript", - { "%.ts$", "%.d.ts$" }, + { "%.ts$", "%.d%.ts$" }, { { { "//.-\n" }, "comment" }, { { "/%*", "%*/" }, "comment" },