diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-01 15:32:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-01 15:32:17 +0100 |
commit | 4c05fa08c9739e307ddc88ac91ba6d208f1fd68e (patch) | |
tree | 20372efd4201512b7d8035734795b2e351e29833 /runtime/ftplugin | |
parent | 6d5b4f566a2a50c1de7300336e9e4f5e761500a8 (diff) |
Update runtime files
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/help.vim | 6 | ||||
-rw-r--r-- | runtime/ftplugin/logcheck.vim | 10 | ||||
-rw-r--r-- | runtime/ftplugin/rst.vim | 7 |
3 files changed, 14 insertions, 9 deletions
diff --git a/runtime/ftplugin/help.vim b/runtime/ftplugin/help.vim index 9eb7214c02..b619a7573b 100644 --- a/runtime/ftplugin/help.vim +++ b/runtime/ftplugin/help.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Vim help file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2008-07-09 +" Latest Revision: 2018-12-29 if exists("b:did_ftplugin") finish @@ -11,9 +11,9 @@ let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim -let b:undo_ftplugin = "setl fo< tw< cole< cocu<" +let b:undo_ftplugin = "setl fo< tw< cole< cocu< keywordprg<" -setlocal formatoptions+=tcroql textwidth=78 +setlocal formatoptions+=tcroql textwidth=78 keywordprg=:help if has("conceal") setlocal cole=2 cocu=nc endif diff --git a/runtime/ftplugin/logcheck.vim b/runtime/ftplugin/logcheck.vim index 7d4671d875..9d664b2d09 100644 --- a/runtime/ftplugin/logcheck.vim +++ b/runtime/ftplugin/logcheck.vim @@ -1,16 +1,16 @@ " Vim filetype plugin file " Language: Logcheck -" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> -" Last Change: 2012 Jan 15 +" Maintainer: Debian Vim Maintainers +" Last Change: 2018 Dec 27 " License: Vim License -" URL: http://hg.debian.org/hg/pkg-vim/vim/file/unstable/runtime/ftplugin/logcheck.vim +" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/ftplugin/logcheck.vim -if exists("b:did_ftplugin") +if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 -let b:undo_ftplugin = "setl fo<" +let b:undo_ftplugin = 'setl fo<' " Do not hard-wrap non-comment lines since each line is a self-contained " regular expression diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim index 9d737cde44..8ab56b052a 100644 --- a/runtime/ftplugin/rst.vim +++ b/runtime/ftplugin/rst.vim @@ -3,7 +3,7 @@ " Maintainer: Marshall Ward <marshall.ward@gmail.com> " Original Maintainer: Nikolai Weibull <now@bitwi.se> " Website: https://github.com/marshallward/vim-restructuredtext -" Latest Revision: 2018-01-07 +" Latest Revision: 2018-12-29 if exists("b:did_ftplugin") finish @@ -13,6 +13,11 @@ let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim +"Disable folding +if !exists('g:rst_fold_enabled') + let g:rst_fold_enabled = 0 +endif + let b:undo_ftplugin = "setl com< cms< et< fo<" setlocal comments=fb:.. commentstring=..\ %s expandtab |