summaryrefslogtreecommitdiffstats
path: root/ftplugin/dockerfile.vim
blob: 5b8052be61d89f8bc65b15428a7925cb4c8fbeb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if polyglot#init#is_disabled(expand('<sfile>:p'), 'dockerfile', 'ftplugin/dockerfile.vim')
  finish
endif

" 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