summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/pbtxt.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--runtime/ftplugin/pbtxt.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/ftplugin/pbtxt.vim b/runtime/ftplugin/pbtxt.vim
new file mode 100644
index 0000000..56c2553
--- /dev/null
+++ b/runtime/ftplugin/pbtxt.vim
@@ -0,0 +1,17 @@
+" Vim filetype plugin file
+" Language: Protobuf Text Format
+" Maintainer: Lakshay Garg <lakshayg@outlook.in>
+" Last Change: 2020 Nov 17
+" 2023 Aug 28 by Vim Project (undo_ftplugin)
+" Homepage: https://github.com/lakshayg/vim-pbtxt
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal commentstring=#\ %s
+
+let b:undo_ftplugin = "setlocal commentstring<"
+
+" vim: nowrap sw=2 sts=2 ts=8 noet