add ' to iskeyword
This commit is contained in:
parent
55d0cbdac2
commit
4e4365445b
1 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,9 @@ if exists('b:current_syntax')
|
||||||
endif
|
endif
|
||||||
let b:current_syntax = 'quox'
|
let b:current_syntax = 'quox'
|
||||||
|
|
||||||
set isk+=-,#
|
setlocal iskeyword+=#
|
||||||
|
setlocal iskeyword+=-
|
||||||
|
setlocal iskeyword+='
|
||||||
|
|
||||||
syn match quoxDelim /[\[\](){};]/
|
syn match quoxDelim /[\[\](){};]/
|
||||||
syn match quoxDelim /\<_\>/
|
syn match quoxDelim /\<_\>/
|
||||||
|
@ -35,8 +37,8 @@ hi def link quoxNat Number
|
||||||
syn region quoxString start=+"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
|
syn region quoxString start=+"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
|
||||||
hi def link quoxString String
|
hi def link quoxString String
|
||||||
|
|
||||||
syn match quoxTag /'\k\+/
|
syn match quoxTag /\<'\k\+/
|
||||||
syn region quoxTag start=+'"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
|
syn region quoxTag start=+\<'"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
|
||||||
hi def link quoxTag Constant
|
hi def link quoxTag Constant
|
||||||
|
|
||||||
syn match quoxCharEsc /\\\%(\\\|"\|x\x\+;\|[nt]\)/ contained
|
syn match quoxCharEsc /\\\%(\\\|"\|x\x\+;\|[nt]\)/ contained
|
||||||
|
|
Loading…
Reference in a new issue