sponsor Vim development Vim logo Vim Book Ad

cmake : CMake syntax update

 script karma  Rating 0/0, Downloaded by 712  Comments, bugs, improvements  Vim wiki

created by
Timothy Madden
 
script type
syntax
 
description
Simple syntax updates for CMake (www.cmake.org) syntax highlighting in Vim, to include new names added all the way to cmake v2.8.12

This script is only an after/syntax file and it still uses the syntax/cmake.vim file provided by Vim. Script only adds new language keywords and names to be highlighted.

Syntax changes:
   - new CMake commands
   - CMake-provided variables
   - CMake properties
   - CMake "generator expressions"
 
install details
Download the cmake.vmb file and open the file in Vim. With the file open, type the following Vim command:
       :source %

The file will then be installed in your "~/.vim/after/syntax/" directory (Unix) or "%UserProfile%/vimfiles/after/syntax/" directory (Windows)

If you happen to already have another after/syntax/cmake.vim file (perhaps your own), you can create an after/syntax/cmake/ directory to contain them both.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cmake.vmb 0.1 2014-05-15 7.0 Timothy Madden Initial upload
ip used for rating: 3.139.81.58

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github