cmake.vim : CMake indent file
| script karma |
Rating 17/7,
Downloaded by 2054 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Andy Cedilnik |
| |
| script type |
| indent |
| |
| description |
| A CMake (www.cmake.org) indentation mode, which indents IF()/ELSE()/ENDIF(), FOREACH()/ENDFOREACH(), and MACRO()/ENDMACRO(), and it also supports multiline arguments to commands, quoted and non-quoted arguments. |
| |
| install details |
1. Put in indent/ subdirectory (for example: ~/.vim/indent)
2. load it when loading CMakeLists.txt or *.cmake:
:autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt runtime! indent/cmake.vim
|
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.169
|