Mercurial > vim
annotate runtime/ftplugin/rpl.vim @ 9501:f0201deac2a2 v7.4.2031
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 12 22:51:22 2016 +0200
patch 7.4.2031
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
'textwidth' to a non-zero value. (Oyvind A. Holm)
Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
value. (partly by Christian Brabandt, closes #912)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Jul 2016 23:00:06 +0200 |
parents | 94601b379f38 |
children | 5b7ea82bc18f |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: RPL/2 | |
3 " Maintainer: Joël BERTRAND <rpl2@free.fr> | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
233
diff
changeset
|
4 " Last Change: 2012 Mar 07 |
7 | 5 " Version: 0.1 |
6 | |
7 " Only do this when not done yet for this buffer | |
8 if exists("b:did_ftplugin") | |
9 finish | |
10 endif | |
11 | |
12 " Don't load another plugin for this buffer | |
13 let b:did_ftplugin = 1 | |
14 | |
15 " Set 'formatoptions' to break comment lines but not other lines, | |
16 " and insert the comment leader when hitting <CR> or using "o". | |
17 setlocal fo-=t fo+=croql | |
18 | |
19 " Set 'comments' to format dashed lists in comments. | |
20 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
233
diff
changeset
|
21 |
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
233
diff
changeset
|
22 let b:undo_ftplugin = "setlocal fo< comments<" |