summaryrefslogtreecommitdiffstats
path: root/ftplugin/docker-compose.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/docker-compose.vim')
-rw-r--r--ftplugin/docker-compose.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/docker-compose.vim b/ftplugin/docker-compose.vim
index 44361375..82896b05 100644
--- a/ftplugin/docker-compose.vim
+++ b/ftplugin/docker-compose.vim
@@ -1,7 +1,9 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
+
" Define comment string
setlocal commentstring=#\ %s
" Enable automatic comment insertion
setlocal formatoptions+=cro
+
endif