runtime(graphql): basic ftplugin file for graphql Commit: https://github.com/vim/vim/commit/36e974fdf3f5db1126bb8211e5a12462258da167 Author: Riley Bruins <ribr...@hotmail.com> Date: Sun May 19 09:30:12 2024 +0200
runtime(graphql): basic ftplugin file for graphql closes: https://github.com/vim/vim/issues/14801 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 19875a434..e3827bab7 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 000000000..56f6e36e2 --- /dev/null +++ b/runtime/ftplugin/graphql.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: graphql +" Maintainer: Riley Bruins <ribr...@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<' -- -- 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/E1s8bE6-00B0vM-S6%40256bit.org.