diff options
author | ath3 | 2022-11-18 20:13:13 +0000 |
---|---|---|
committer | GitHub | 2022-11-18 20:13:13 +0000 |
commit | 598bd8bf11b0f6ee6cf8b59c3415fa0d5d6cd1ff (patch) | |
tree | e8fe049131382aff06f105db290c99eccabc49f2 | |
parent | 89efb4f711d37ac59b4f5f985467647be76fb870 (diff) |
Update tree-sitter-cmake (#4809)
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/cmake/textobjects.scm | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml index c40b0d50..47d77fee 100644 --- a/languages.toml +++ b/languages.toml @@ -831,7 +831,7 @@ injection-regex = "cmake" [[grammar]] name = "cmake" -source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "f6616f1e417ee8b62daf251aa1daa5d73781c596" } +source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef3052dd3b328322c22172eda093727ad" } [[language]] name = "make" diff --git a/runtime/queries/cmake/textobjects.scm b/runtime/queries/cmake/textobjects.scm index 1fa9ded5..049aa84a 100644 --- a/runtime/queries/cmake/textobjects.scm +++ b/runtime/queries/cmake/textobjects.scm @@ -1,4 +1,7 @@ -(macro_def) @function.around +[ + (macro_def) + (function_def) +] @function.around (argument) @parameter.inside |