summaryrefslogtreecommitdiffstats
path: root/ftplugin/dockerfile.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-17 14:17:55 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-17 14:17:55 +0200
commitaf3ebda71002223b4bc6d4cc79a0359523eaa385 (patch)
tree74ed3ae3100bf4ae297fb1588073fa279cca063b /ftplugin/dockerfile.vim
parent6b663ec330356e92de9c68a6dac09a80a2d5b07c (diff)
downloadvim-polyglot-4.13.4.tar.gz
vim-polyglot-4.13.4.zip
Fix testsv4.13.4
Diffstat (limited to 'ftplugin/dockerfile.vim')
-rw-r--r--ftplugin/dockerfile.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/ftplugin/dockerfile.vim b/ftplugin/dockerfile.vim
new file mode 100644
index 00000000..3780119a
--- /dev/null
+++ b/ftplugin/dockerfile.vim
@@ -0,0 +1,20 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
+
+" Vim filetype plugin
+" Language: Dockerfile
+" Maintainer: Honza Pokorny <http://honza.ca>
+" Last Change: 2014 Aug 29
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Don't load another plugin for this buffer
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setl commentstring<"
+
+setlocal commentstring=#\ %s
+
+endif