summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/jproperties.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/jproperties.vim')
-rw-r--r--runtime/ftplugin/jproperties.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/ftplugin/jproperties.vim b/runtime/ftplugin/jproperties.vim
new file mode 100644
index 0000000..c0e7800
--- /dev/null
+++ b/runtime/ftplugin/jproperties.vim
@@ -0,0 +1,15 @@
+" Vim filetype plugin
+" Language: Java properties file
+" Maintainer: None
+" Last Change: 2019 Dec 01
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal formatoptions-=t
+setlocal comments=:#,:!
+setlocal commentstring=#\ %s
+
+let b:undo_ftplugin = "setl cms< com< fo<"