diff options
| author | Uy Ha <hchanuy@gmail.com> | 2022-02-05 00:20:07 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 00:28:48 +0100 |
| commit | c999f9aa135c0ea36981a886fe2a87733cb6d611 (patch) | |
| tree | ccd998f89f0a82b10ea42eba701f7a2c7686ed0d /queries/cmake | |
| parent | Improve `set` queries (diff) | |
| download | nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar.gz nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar.bz2 nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar.lz nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar.xz nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.tar.zst nvim-treesitter-c999f9aa135c0ea36981a886fe2a87733cb6d611.zip | |
Rename captures
Diffstat (limited to 'queries/cmake')
| -rw-r--r-- | queries/cmake/highlights.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/queries/cmake/highlights.scm b/queries/cmake/highlights.scm index d7ba6f3d3..18a87c25e 100644 --- a/queries/cmake/highlights.scm +++ b/queries/cmake/highlights.scm @@ -70,22 +70,22 @@ (#match? @function.builtin "\\c^(set)$") . (argument) ( - (argument) @m_cache @constant + (argument) @_cache @constant . - (argument) @m_type @constant - (#any-of? @m_cache "CACHE") - (#any-of? @m_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL") + (argument) @_type @constant + (#any-of? @_cache "CACHE") + (#any-of? @_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL") ) ) (normal_command (identifier) @function.builtin (#match? @function.builtin "\\c^(set)$") . (argument) - (argument) @m_cache - (#any-of? @m_cache "CACHE") + (argument) @_cache + (#any-of? @_cache "CACHE") ( - (argument) @m_force @constant - (#any-of? @m_force "FORCE") + (argument) @_force @constant + (#any-of? @_force "FORCE") ) . ) |
