Skip to content

vim-scripts/ifdef-highlighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=7

Provides highlighting for  #ifdef  #ifndef  #else  #endif  blocks, with the ability to mark a symbol as defined or undefined.
Handles nesting of #ifdefs (and #if) as well, but does not handle  #if defined().

Supports vim_ifdef:  modelines and .defines (_defines for win16/win32s) files to specify defined/undefined symbols.

use :Define <keyword>  or  :Undefine <keyword>     to dynamically specify defined or undefined sections.