blob: c7397da7a6b2a83b7d62949ff8f84e88a122aa83 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim filetype plugin file
2" Language: Make
3" Maintainer: Bram Moolenaar <Bram@vim.org>
4" Last Change: 2003 May 04
5
6" Only do this when not done yet for this buffer
7if exists("b:did_ftplugin")
8 finish
9endif
10let b:did_ftplugin = 1
11
12let b:undo_ftplugin = "setl et< fo< com< commentstring<"
13
14" Make sure a hard tab is used, required for most make programs
15setlocal noexpandtab softtabstop=0
16
17" Set 'formatoptions' to break comment lines but not other lines,
18" and insert the comment leader when hitting <CR> or using "o".
19setlocal fo-=t fo+=croql
20
21" Set 'comments' to format dashed lists in comments
22setlocal com=sO:#\ -,mO:#\ \ ,b:#
23
24" Set 'commentstring' to put the marker after a #.
25setlocal commentstring=#\ %s