1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:00:05 +08:00
SpaceVim/bundle/vim-cmake-syntax
2022-05-22 17:18:29 +08:00
..
indent feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
modules feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
syntax feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
test feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
cmake.vim.in feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
extract-upper-case.pl feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
LICENSE feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00
README.md feat(layer): add lang#cmake layer 2022-05-22 17:18:29 +08:00

vim-cmake-syntax

Vim syntax highlighting rules for modern CMakeLists.txt.

Original code from KitWare. First hosted on Github by Nicholas Hutchinson. Extended and modified by Patrick Boettcher and contributors

Keyword update - refer to syntax/cmake.vim-header.

The code of this repository is integrated in and released with CMake and is pulled into the official cmake-distribution "from time to time".

Installation

With Pathogen

cd ~/.vim/bundle
git clone git://github.com/pboettch/vim-cmake-syntax.git

With Vundle

" inside .vimrc
Plugin 'pboettch/vim-cmake-syntax'

Test

There is a ever growing test-suite based on ctest located in test/

cd <build-dir-where-ever-located>
cmake path/to/this/repo/test
ctest