Mercurial > vim
comparison runtime/ftplugin/make.vim @ 22723:5b7ea82bc18f
Update runtime files.
Commit: https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 26 21:12:46 2020 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Oct 2020 21:15:07 +0100 |
parents | a23c883685cb |
children | 4027cefc2aab |
comparison
equal
deleted
inserted
replaced
22722:41cc1c207f82 | 22723:5b7ea82bc18f |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: Make | 2 " Language: Make |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2019 Apr 02 | 4 " Last Change: 2020 Oct 16 |
5 | 5 |
6 " Only do this when not done yet for this buffer | 6 " Only do this when not done yet for this buffer |
7 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
8 finish | 8 finish |
9 endif | 9 endif |
10 let b:did_ftplugin = 1 | 10 let b:did_ftplugin = 1 |
11 | 11 |
12 let b:undo_ftplugin = "setl et< sts< fo< com< cms< inc<" | 12 let b:undo_ftplugin = "setl et< sts< sw< fo< com< cms< inc<" |
13 | 13 |
14 " Make sure a hard tab is used, required for most make programs | 14 " Make sure a hard tab is used, required for most make programs |
15 setlocal noexpandtab softtabstop=0 | 15 setlocal noexpandtab softtabstop=0 shiftwidth=0 |
16 | 16 |
17 " Set 'formatoptions' to break comment lines but not other lines, | 17 " Set 'formatoptions' to break comment lines but not other lines, |
18 " and insert the comment leader when hitting <CR> or using "o". | 18 " and insert the comment leader when hitting <CR> or using "o". |
19 setlocal fo-=t fo+=croql | 19 setlocal fo-=t fo+=croql |
20 | 20 |