aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/dockerfile.vim
blob: f9268fe89b5fc5cafe3bf89ce6d5088c4e33d2f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim filetype plugin
" Language:	Dockerfile
" Maintainer:   Honza Pokorny <http://honza.ca>
" Last Change:	2025 Feb 21

" 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

setlocal comments=:#
setlocal commentstring=#\ %s

let b:undo_ftplugin = "setl comments< commentstring<"