Skip to content

melak47/vscode-ninja-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published