summaryrefslogtreecommitdiffstats
path: root/ftplugin/docker-compose.vim
blob: 8e5c4fd3cc4544c730ac0a122e9c4bde408ba375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let files = filter(globpath(&rtp, 'ftplugin/docker-compose.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'docker-compose') == -1

" Define comment string
setlocal commentstring=#\ %s

" Enable automatic comment insertion
setlocal formatoptions+=cro

endif