From 27a3e92a87265aeb13ca823afdbe63f08977d792 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 20 May 2024 14:07:44 +0200 Subject: [PATCH] vim-patch:9c4d14dbb4ba runtime(prisma): include basic prisma ftplugin file (vim/vim#14807) Reference: https://www.prisma.io/docs/orm/prisma-schema/overview#comments https://github.com/vim/vim/commit/9c4d14dbb4baeb909ff62a943aed24968e3be6fe Co-authored-by: Riley Bruins --- runtime/ftplugin/prisma.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/ftplugin/prisma.vim diff --git a/runtime/ftplugin/prisma.vim b/runtime/ftplugin/prisma.vim new file mode 100644 index 0000000000..8b733da64c --- /dev/null +++ b/runtime/ftplugin/prisma.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: prisma +" Maintainer: Riley Bruins +" 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<'