Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortombell
    • CommentTimeAug 20th 2007
     permalink
    The #endif preprocessor directive isn't highlighted, is there a way to fix this?
    •  
      CommentAuthortstrokes
    • CommentTimeAug 20th 2007 edited
     permalink

    What theme are you using?

    • CommentAuthortombell
    • CommentTimeAug 20th 2007
     permalink
    I have tried every theme, and they all seem to miss highlighting this directive.
    • CommentAuthordaryl
    • CommentTimeAug 20th 2007
     permalink

    Of all the themes that highlight #ifndef, #define, and so on, only the default theme appears to highlight #endif also.

    •  
      CommentAuthortstrokes
    • CommentTimeAug 21st 2007 edited
     permalink

    To hilight it add these lines to the theme you are using. /******************************************************/ /* Preprocessor line */ /******************************************************/ { title : 'Preprocessor line' scope : 'other.preprocessor' settings : { font_style : '' foreground : '#1A921C' } } /******************************************************/ /* Preprocessor directive */ /******************************************************/ { title : 'Preprocessor directive' scope : 'entity.title.preprocessor' settings : { font_style : 'bold' foreground : '#0C450D' } }