neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 7d6a8438c927693701ee60be9d09581a12345270
parent 27a3e92a87265aeb13ca823afdbe63f08977d792
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon, 20 May 2024 14:15:35 +0200

vim-patch:c3d5c2fc8721

runtime(typst): include basic typst ftplugin file (vim/vim#14809)

Reference: https://typst.app/docs/reference/syntax/#comments

https://github.com/vim/vim/commit/c3d5c2fc87212865ee73738cd381ddbaf8132c33

Co-authored-by: Riley Bruins <ribru17@hotmail.com>

Diffstat:
Aruntime/ftplugin/typst.vim | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/runtime/ftplugin/typst.vim 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<'