diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-05-20 05:08:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 14:08:49 +0200 |
commit | c3d5c2fc87212865ee73738cd381ddbaf8132c33 (patch) | |
tree | 1490bd419ddb738931b723ec74d28c422098e8a5 /runtime | |
parent | 9c4d14dbb4baeb909ff62a943aed24968e3be6fe (diff) |
runtime(typst): include basic typst ftplugin file (#14809)
Reference: https://typst.app/docs/reference/syntax/#comments
Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/typst.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/typst.vim b/runtime/ftplugin/typst.vim new file mode 100644 index 0000000000..c2d7811ace --- /dev/null +++ b/runtime/ftplugin/typst.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: typst +" Maintainer: Riley Bruins <ribru17@gmail.com> +" Last Change: 2024 May 19 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// +setlocal commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' |