Skip to content

Commit

Permalink
Fix incorrect extension patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Jan 17, 2025
1 parent 0fcd651 commit a43f744
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/assets/plugins/lspclient.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void addCMake() {
SyntaxDefinitionManager::instance()->add(

{ "CMake",
{ "%.cmake$", "CMakeLists.txt$" },
{ "%.cmake$", "CMakeLists%.txt$" },
{
{ { "#", "\n" }, "comment" },
{ { "\"", "\"", "\\" }, "string" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void addMeson() {
SyntaxDefinitionManager::instance()->add(

{ "Meson",
{ "meson.build$", "^meson_options.txt$" },
{ "meson%.build$", "^meson_options%.txt$" },
{
{ { "#", "\n" }, "comment" },
{ { "\"", "\"", "\\" }, "string" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void addTeal() {
auto& sd = SyntaxDefinitionManager::instance()->add(

{ "Teal",
{ "%.tl$", "%.d.tl$" },
{ "%.tl$", "%.d%.tl$" },
{
{ { "\"", "\"", "\\" }, "string" },
{ { "'", "'", "\\" }, "string" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void addTypeScript() {
SyntaxDefinition& ts = SyntaxDefinitionManager::instance()->add(

{ "TypeScript",
{ "%.ts$", "%.d.ts$" },
{ "%.ts$", "%.d%.ts$" },
{
{ { "//.-\n" }, "comment" },
{ { "/%*", "%*/" }, "comment" },
Expand Down

0 comments on commit a43f744

Please sign in to comment.