commit b40a5db7870c06ac02a7040d35ec1a1d91e3adeb parent b328b7f9a724ed2639ab9ee9c7c6d3dbc46d168f Author: Alex Balgavy <alex@balgavy.eu> Date: Mon, 11 Jan 2021 23:56:37 +0100 vim: syntax for lfrc Diffstat:
A | vim/after/syntax/lfrc.vim | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/vim/after/syntax/lfrc.vim b/vim/after/syntax/lfrc.vim @@ -0,0 +1,6 @@ +runtime! syntax/conf.vim +unlet b:current_syntax +syntax include @Shell syntax/sh.vim +syntax region lfrcShell start="^ *cmd[^$&%!]\+[$&%!] *{{\zs" end="^\ze *}}" keepend contains=@Shell +syntax match lfrcShellSingle "^ *cmd[^$&%!]\+[$&%!]\zs.*$" contains=@Shell +syntax keyword Statement cmd