Skip to content

Commit

Permalink
Merge pull request #1049 from nhooyr/syntax-fix
Browse files Browse the repository at this point in the history
goPredefinedIdentifiers should link to goBoolean by default
  • Loading branch information
fatih authored Sep 14, 2016
2 parents d9fa1bc + 451f8a0 commit ac4a975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ hi def link goComplexes Type
" Predefined functions and values
syn match goBuiltins /\<\v(append|cap|close|complex|copy|delete|imag|len)\ze\(/
syn match goBuiltins /\<\v(make|new|panic|print|println|real|recover)\ze\(/
syn keyword goPredefinedIdentifiers nil iota
syn keyword goBoolean true false
syn keyword goPredefinedIdentifiers nil iota

hi def link goBuiltins Keyword
hi def link goPredefinedIdentifiers Identifier
hi def link goBoolean Boolean
hi def link goPredefinedIdentifiers goBoolean

" Comments; their contents
syn keyword goTodo contained TODO FIXME XXX BUG
Expand Down

0 comments on commit ac4a975

Please sign in to comment.