Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow comments in ndx files #5

Merged
merged 1 commit into from

2 participants

@jbarnoud
Collaborator

Fix issue #4

@HubLot HubLot merged commit 7191ad8 into HubLot:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2012
  1. @jbarnoud

    Allow comments in ndx files

    jbarnoud authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 syntax/ndx.vim
View
5 syntax/ndx.vim
@@ -29,9 +29,12 @@ endif
syn region ndxBlock start='\[' end='\]' contains=ndxBlockValue
syn match ndxBlockValue "\([A-Za-z0-9_-]\|\s\|\.\)\+" contained
+" " For Comments
+syn match ndxComment ";.*$"
+
let b:current_syntax = "ndx"
" "Highlights colors
hi def link ndxBlock Function
hi def link ndxBlockValue Keyword
-
+hi def link ndxComment Comment
Something went wrong with that request. Please try again.