Add textobjects and indents to cmake (#1307)

This commit is contained in:
Sebastian Neubauer 2021-12-25 16:10:19 +01:00 committed by GitHub
parent 5d7b5db8ab
commit ec878e4011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

View file

@ -3,7 +3,7 @@
| bash | ✓ | | | `bash-language-server` |
| c | ✓ | | | `clangd` |
| c-sharp | ✓ | | | |
| cmake | ✓ | | | `cmake-language-server` |
| cmake | ✓ | | | `cmake-language-server` |
| comment | ✓ | | | |
| cpp | ✓ | | | `clangd` |
| css | ✓ | | | |

View file

@ -0,0 +1,12 @@
indent = [
"if_condition",
"foreach_loop",
"while_loop",
"function_def",
"macro_def",
"normal_command",
]
outdent = [
")"
]

View file

@ -0,0 +1,3 @@
(macro_def) @function.around
(argument) @parameter.inside