Skip to content

Commit

Permalink
Allow comment lines to start with '#' (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rddunphy committed Nov 30, 2022
1 parent f2eaa5d commit fdd069b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/tridactyl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ syntax keyword tridactylAucmd contained
\ DocStart DocLoad DocEnd TriStart TabEnter TabLeft FullscreenChange FullscreenEnter FullscreenLeft

syntax match tridactylStart '^' keepend contains=@NoSpell nextgroup=tridactylCmd
syntax match tridactylComment '^".*$' contains=@Spell
syntax match tridactylComment '^\s*["#].*$' contains=@Spell

syntax match tridactylCmd "\h\+" keepend contained contains=tridactylExcmd
syntax match tridactylCmds "autocmd" keepend containedin=tridactylCmd contains=tridactylExcmd nextgroup=tridactylEvent
Expand Down

0 comments on commit fdd069b

Please sign in to comment.