Skip to content

Commit 78f6400

Browse files
committed
feat: Add CMake support
1 parent 2842fab commit 78f6400

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ navigation and the ability to output variable values.
1414

1515
* `bash`
1616
* `c`
17+
* `cmake`
1718
* `cpp` (C++)
1819
* `cs` (C#)
1920
* `dart`
@@ -280,7 +281,7 @@ If it helps to understand these, you can look at the built-in configurations in
280281
| C | :+1: | :+1: | :x: | :x: | :x: | :+1: | :x: |
281282
| C# | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
282283
| C++ | :+1: | :+1: | :+1: | :+1: | :+1: | :+1: | :x: |
283-
| CMake | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
284+
| CMake | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
284285
| dart | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
285286
| Docker | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
286287
| fish | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ return {
3535
mid_var = '%d\\n", ',
3636
right_var = ");",
3737
},
38+
["cmake"] = {
39+
left = 'message(DEBUG "',
40+
right = '")',
41+
mid_var = "${",
42+
right_var = '}")',
43+
},
3844
["cpp"] = {
3945
left = 'std::cerr << "',
4046
right = '" << std::endl;',

0 commit comments

Comments
 (0)