nvim-dotfiles/syntax/emk.vim
2024-04-26 15:16:28 -04:00

18 lines
420 B
VimL

if exists("b:current_syntax")
finish
endif
syntax keyword emkKeyword declare function include
highlight link emkKeyword Keyword
highlight link emkFunction Function
syntax region emkString start=/\v"/ skip=/\v\\./ end=/\v"/
syntax region emkString start=/\v'/ skip=/\v\\./ end=/\v'/
highlight link emkString String
syntax match emkComment "\v//.*$"
highlight link emkComment Comment
let b:current_syntax = "emk"