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

Commit: 
https://github.com/vim/vim/commit/c3d5c2fc87212865ee73738cd381ddbaf8132c33
Author: Riley Bruins <ribr...@hotmail.com>
Date:   Mon May 20 05:08:49 2024 -0700

    runtime(typst): include basic typst ftplugin file 
(https://github.com/vim/vim/issues/14809)
    
    Reference: https://typst.app/docs/reference/syntax/#comments
    
    Signed-off-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index d83f1e265..f09b2c927 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -230,6 +230,7 @@ runtime/ftplugin/toml.vim           @averms
 runtime/ftplugin/tt2html.vim           @petdance
 runtime/ftplugin/typescript.vim                @dkearns
 runtime/ftplugin/typescriptreact.vim   @dkearns
+runtime/ftplugin/typst.vim             @ribru17
 runtime/ftplugin/unison.vim            @chuwy
 runtime/ftplugin/v.vim                 @ribru17
 runtime/ftplugin/vdf.vim               @ObserverOfTime
diff --git a/runtime/ftplugin/typst.vim b/runtime/ftplugin/typst.vim
new file mode 100644
index 000000000..c2d7811ac
--- /dev/null
+++ b/runtime/ftplugin/typst.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language:    typst
+" Maintainer:  Riley Bruins <ribr...@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<'

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1s91v0-00DEw9-TD%40256bit.org.

Raspunde prin e-mail lui