summaryrefslogtreecommitdiffstats
path: root/ftplugin/docker-compose.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
commit664aa988f6d9cdb7b75218666fbe348c85ef8b29 (patch)
tree306173199576430e6133a1ed137bd80bbc2fb01b /ftplugin/docker-compose.vim
parent3ddca5da461ebfaa82104f82e3cbf19d1c326ade (diff)
downloadvim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.tar.gz
vim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.zip
Update
Diffstat (limited to 'ftplugin/docker-compose.vim')
-rw-r--r--ftplugin/docker-compose.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ftplugin/docker-compose.vim b/ftplugin/docker-compose.vim
new file mode 100644
index 00000000..45a103fc
--- /dev/null
+++ b/ftplugin/docker-compose.vim
@@ -0,0 +1,9 @@
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dockerfile') != -1
+ finish
+endif
+
+" Define comment string
+setlocal commentstring=#\ %s
+
+" Enable automatic comment insertion
+setlocal formatoptions+=cro