Is there a way to translate syntax
commands (see :h syn-match
, :h syn-keyword
) from vimscript to lua?
syntax match cCustomFunc /\w\+\s*(/me=e-1,he=e-1
syntax keyword cBoolean true false
Is there a way to translate syntax
commands (see :h syn-match
, :h syn-keyword
) from vimscript to lua?
syntax match cCustomFunc /\w\+\s*(/me=e-1,he=e-1
syntax keyword cBoolean true false
vim.cmd.syntax([[match cCustomFunc /\w\+\s*(/me=e-1,he=e-1]])