Commit: runtime(prisma): include basic prisma ftplugin file (#14807)

3 views
Skip to first unread message

Christian Brabandt

unread,
May 20, 2024, 8:15:12 AM5/20/24
to vim...@googlegroups.com
runtime(prisma): include basic prisma ftplugin file (#14807)

Commit: https://github.com/vim/vim/commit/9c4d14dbb4baeb909ff62a943aed24968e3be6fe
Author: Riley Bruins <rib...@hotmail.com>
Date: Mon May 20 05:07:30 2024 -0700

runtime(prisma): include basic prisma ftplugin file (https://github.com/vim/vim/issues/14807)

Reference: https://www.prisma.io/docs/orm/prisma-schema/overview#comments

Signed-off-by: Riley Bruins <rib...@hotmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 477efc21c..d83f1e265 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -195,6 +195,7 @@ runtime/ftplugin/php.vim @dkearns
runtime/ftplugin/pod.vim @petdance @dkearns
runtime/ftplugin/poefilter.vim @ObserverOfTime
runtime/ftplugin/postscr.vim @mrdubya
+runtime/ftplugin/prisma.vim @ribru17
runtime/ftplugin/ps1.vim @heaths
runtime/ftplugin/ps1xml.vim @heaths
runtime/ftplugin/pymanifest.vim @ObserverOfTime
diff --git a/runtime/ftplugin/prisma.vim b/runtime/ftplugin/prisma.vim
new file mode 100644
index 000000000..8b733da64
--- /dev/null
+++ b/runtime/ftplugin/prisma.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: prisma
+" Maintainer: Riley Bruins <rib...@gmail.com>
+" Last Change: 2024 May 19
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:///,:// commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'
Reply all
Reply to author
Forward
0 new messages