diff options
| author | Uy Ha <hchanuy@gmail.com> | 2021-06-20 21:49:34 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-02 08:37:02 +0200 |
| commit | df024e233ab9d691a3cd212790e4fd40186766c8 (patch) | |
| tree | 63aacdc3be2806cf32ec029985f175c04db8181f | |
| parent | [WIP] tree-sitter-cmake integration (diff) | |
| download | nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar.gz nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar.bz2 nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar.lz nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar.xz nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.tar.zst nvim-treesitter-df024e233ab9d691a3cd212790e4fd40186766c8.zip | |
Add highlights.scm
| -rw-r--r-- | queries/cmake/highlights.scm | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/queries/cmake/highlights.scm b/queries/cmake/highlights.scm new file mode 100644 index 000000000..3d9f27e9d --- /dev/null +++ b/queries/cmake/highlights.scm @@ -0,0 +1,87 @@ +(bracket_content) @parameter +(quoted_element) @parameter +(unquoted_argument) @parameter + +(variable) @variable + +[ + (normal_command) + (if_command) + (elseif_command) + (else_command) + (endif_command) + (foreach_command) + (endforeach_command) + (while_command) + (endwhile_command) + (function_command) + (endfunction_command) + (macro_command) + (endmacro_command) + (message_command) +]@function + +[ + "1" + "ON" + "YES" + "TRUE" + "Y" + "0" + "OFF" + "NO" + "FALSE" + "N" + "IGNORE" + "NOTFOUND" + "NOT" + "AND" + "OR" + "COMMAND" + "POLICY" + "TARGET" + "TEST" + "DEFINED" + "CACHE" + "ENV" + "IN_LIST" + "EXISTS" + "IS_NEWER_THAN" + "IS_DIRECTORY" + "IS_SYMLINK" + "IS_ABSOLUTE" + "MATCHES" + "LESS" + "GREATER" + "EQUAL" + "LESS_EQUAL" + "GREATER_EQUAL" + "STRLESS" + "STRGREATER" + "STREQUAL" + "STRLESS_EQUAL" + "STRGREATER_EQUAL" + "VERSION_LESS" + "VERSION_GREATER" + "VERSION_EQUAL" + "VERSION_LESS_EQUAL" + "VERSION_GREATER_EQUAL" + "IN" + "RANGE" + "ZIP_LISTS" + "LISTS" + "ITEMS" + "FATAL_ERROR" + "SEND_ERROR" + "WARNING" + "AUTHOR_WARNING" + "DEPRECATION" + "NOTICE" + "STATUS" + "VERBOSE" + "DEBUG" + "TRACE" + "CHECK_START" + "CHECK_PASS" + "CHECK_FAIL" +] @keyword |
