Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ninja syntax

Synxtax highlighting for ninja build files adapted from SublimeNinja.

Features

Direct port of SublimeNinja, with minor fixes.

Release Notes

1.0.0

  • Tweak regex to not match comments following declarations.

    Even though the ninja manual does not explicitly state this,

    • Comments cannot follow variable declarations (since the # will simply be part of the string)
    • Comments cannot follow rule declarations (parser errors occur)

    Change regex so these are not mistakenly highlighted as comments.

  • Configure line comment symbol (#) so editor.action.commentLine etc. will work properly.

About

Syntax highlighting for ninja build files

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors