summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-05-19 09:30:12 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-19 09:30:12 +0200
commit36e974fdf3f5db1126bb8211e5a12462258da167 (patch)
tree7f7f94d1ac3d53ffe78b072c0e4848000fd2f1eb
parentd801edfb1b826c8b4a81f93205a0ed10bdf9fd56 (diff)
runtime(graphql): basic ftplugin file for graphql
closes: #14801 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--.github/MAINTAINERS1
-rw-r--r--runtime/ftplugin/graphql.vim13
2 files changed, 14 insertions, 0 deletions
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 19875a4341..e3827bab7e 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -144,6 +144,7 @@ runtime/ftplugin/gitconfig.vim @tpope
runtime/ftplugin/gitignore.vim @ObserverOfTime
runtime/ftplugin/gitrebase.vim @tpope
runtime/ftplugin/gitsendemail.vim @tpope
+runtime/ftplugin/graphql.vim @ribru17
runtime/ftplugin/gyp.vim @ObserverOfTime
runtime/ftplugin/go.vim @dbarnett
runtime/ftplugin/gprof.vim @dpelle
diff --git a/runtime/ftplugin/graphql.vim b/runtime/ftplugin/graphql.vim
new file mode 100644
index 0000000000..56f6e36e20
--- /dev/null
+++ b/runtime/ftplugin/graphql.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: graphql
+" Maintainer: Riley Bruins <ribru17@gmail.com>
+" Last Change: 2024 May 18
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:# commentstring=#\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'