Mercurial > vim
annotate runtime/ftplugin/rpl.vim @ 23529:049b1e867137 v8.2.2307
patch 8.2.2307: a shell command in the vimrc causes terminal output
Commit: https://github.com/vim/vim/commit/ebbf11c1198b7aec8a1a55f7231ecb4f1a432fa0
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 7 14:45:03 2021 +0100
patch 8.2.2307: a shell command in the vimrc causes terminal output
Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Jan 2021 15:00:05 +0100 |
parents | 5b7ea82bc18f |
children |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: RPL/2 | |
22723 | 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<" |