Skip to content

Commit

Permalink
Added symbol class for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimaDovakin committed Aug 22, 2024
1 parent 3ce5675 commit 46672df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor-support/vim/syntax/unison.vim
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ syn match uSpecialCharError contained "\\&\|'''\+"
syn region uString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=uSpecialChar
syn match uCharacter "[^a-zA-Z0-9_']'\([^\\]\|\\[^']\+\|\\'\)'"lc=1 contains=uSpecialChar,uSpecialCharError
syn match uCharacter "^'\([^\\]\|\\[^']\+\|\\'\)'" contains=uSpecialChar,uSpecialCharError
syn match uNumber "\<[0-9]\+\>\|\<0[xX][0-9a-fA-F]\+\>\|\<0[oO][0-7]\+\>\|\<0b[01]\+\>"
syn match uNumber "\<[0-9]\+\>\|\<0[xX][0-9a-fA-F]\+\>\|\<0[oO][0-7]\+\>\|\<0[bB][01]\+\>"
syn match uFloat "\<[0-9]\+\.[0-9]\+\([eE][-+]\=[0-9]\+\)\=\>"

" Keyword definitions. These must be patterns instead of keywords
Expand Down

0 comments on commit 46672df

Please sign in to comment.