add ' to iskeyword

This commit is contained in:
rhiannon morris 2024-05-16 22:01:20 +02:00
parent 55d0cbdac2
commit 4e4365445b

View file

@ -3,7 +3,9 @@ if exists('b:current_syntax')
endif
let b:current_syntax = 'quox'
set isk+=-,#
setlocal iskeyword+=#
setlocal iskeyword+=-
setlocal iskeyword+='
syn match quoxDelim /[\[\](){};]/
syn match quoxDelim /\<_\>/
@ -35,8 +37,8 @@ hi def link quoxNat Number
syn region quoxString start=+"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
hi def link quoxString String
syn match quoxTag /'\k\+/
syn region quoxTag start=+'"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
syn match quoxTag /\<'\k\+/
syn region quoxTag start=+\<'"+ end=+"+ skip=+\\"+ contains=quoxCharEsc
hi def link quoxTag Constant
syn match quoxCharEsc /\\\%(\\\|"\|x\x\+;\|[nt]\)/ contained