vim-cmake-syntax icon indicating copy to clipboard operation
vim-cmake-syntax copied to clipboard

Vim syntax highlighting rules for modern CMake.

Results 14 vim-cmake-syntax issues
Sort by recently updated
recently updated
newest added

The CMake vim runtime files are handled in 1. this repository 2. [CMake](https://gitlab.kitware.com/cmake/cmake/-/tree/master/Auxiliary/vim) 3. [vim](https://github.com/vim/vim) I was told that [this is the upstream of CMake repo](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9034#note_1453840), but 1 and 2...

`Auxiliary/vim/syntax/cmake.vim` incorrectly defines cmakeBracketArguement, cmakeComment and cmakeBracketArgument as ```vim syn region cmakeBracketArgument start="\[\z(=\?\|=[0-9]*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell syn region cmakeBracketComment start="\[\z(=*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell ``` `cmakeBracketArgument` doesn't...

https://github.com/vim/vim/pull/13597#discussion_r1410422734

1) ➜ bundle vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 28 2022 06:54:26) 包含补丁: 1-875, 878, 884, 948, 1046, 1365-1368, 1382, 1401-1403 2) vim-cmake-syntax is...

Users can use `call EnableEmbeds('foo')` to highlight any syntax in cmake comment. ![screen-2023-07-18-14-35-13](https://github.com/pboettch/vim-cmake-syntax/assets/32936898/6de6dda2-1583-4ecb-8b35-027cd3d1b545) Still need some tests for corner cases.

[bat](https://github.com/sharkdp/bat) support CmakeCache.txt. How about this vim plugin? TIA!

In some cmake script: ```cmake #[=======================================================================[.rst: ... #]=======================================================================] ``` How about highlight `...` to `rst`? like can highlight code fence: ![pandoc](https://user-images.githubusercontent.com/32936898/230709055-10e9fc61-e2ca-417a-b060-7d156915d22e.png)

I use these commands at the end of my c and c++ syntax files, for coloring delimiters and operators, and it works fine. In cmake syntax file these commands don't...