You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that you haven't exactly supported comment (much less TODO/FIXME) yet.
I know for a fact that nginx.conf shares a very strong resemblance to ISC Bind9 named.conf configuration file's syntax.
I've been working on the vim-syntax-bind-named highlighter for this named.conf file. And it's pretty ALPHA at that point.
Maybe this snippet for your Vim syntax/nginx.vim will jumpstart you:
hilinknamedErrorErrorsynmatchnamedError/[^;{#]$/hilinknamedToDoTodosynkeywordnamedToDo xxx contained XXX FIXME TODO TODO: FIXME:synregionnamedQuotedStringstart=/"/skip=/\\"/end=/"/containedsynregionnamedQuotedStringstart=/'/skip=/\\'/end=/'/contained" --- Other variants of strings" filespec = '_-.+~@$%^&*()=[]\\|:<>`?' " no curly braces nor semicolon" filespec = can be unquoted but no space char allowedhilinknamedFilespecStringsynmatchnamedFilespeccontained/[{}<>\|:;"'a-zA-Z0-9_\.\-\/\\]\+[^;]/contains=namedQuotedStringskipwhiteskipemptyskipnlhilinknamedCommentCommentsynmatchnamedComment"//.*"contains=namedToDosynmatchnamedComment"#.*"contains=namedToDosynregionnamedCommentstart="/\*"end="\*/"contains=namedToDosynmatchnamedInclude/\_s*include/\ nextgroup=namedFilespec,namedError
\ skipwhite
The text was updated successfully, but these errors were encountered:
I noticed that you haven't exactly supported comment (much less TODO/FIXME) yet.
I know for a fact that
nginx.conf
shares a very strong resemblance to ISC Bind9named.conf
configuration file's syntax.I've been working on the vim-syntax-bind-named highlighter for this
named.conf
file. And it's pretty ALPHA at that point.Maybe this snippet for your Vim
syntax/nginx.vim
will jumpstart you:The text was updated successfully, but these errors were encountered: