Skip to content

Commit

Permalink
Merge pull request #604 from moorereason/fix603
Browse files Browse the repository at this point in the history
Fix goCharacter syntax region to be contained
  • Loading branch information
fatih committed Nov 16, 2015
2 parents a98ed53 + 749599c commit 338ad4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/gotexttmpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ hi def link goRawString String

" Characters; their contents
syn cluster goCharacterGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU
syn region goCharacter start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@goCharacterGroup
syn region goCharacter contained start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@goCharacterGroup

hi def link goCharacter Character

Expand Down

0 comments on commit 338ad4b

Please sign in to comment.