mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 22:43:49 -05:00
15 lines
417 B
VimL
15 lines
417 B
VimL
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
|