Mercurial > vim
comparison runtime/optwin.vim @ 20753:661eb972cb22
Update runtime files
Commit: https://github.com/vim/vim/commit/acc224064033e5cea21ef7f1eefb356ca06ff11d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 21:07:18 2020 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 21:15:04 +0200 |
parents | e9a47bcf7b94 |
children | 83cfa1ef1bf2 |
comparison
equal
deleted
inserted
replaced
20752:47b5de84b7f7 | 20753:661eb972cb22 |
---|---|
1 " These commands create the option window. | 1 " These commands create the option window. |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2019 Nov 07 | 4 " Last Change: 2020 Jun 02 |
5 | 5 |
6 " If there already is an option window, jump to that one. | 6 " If there already is an option window, jump to that one. |
7 let buf = bufnr('option-window') | 7 let buf = bufnr('option-window') |
8 if buf >= 0 | 8 if buf >= 0 |
9 let winids = win_findbuf(buf) | 9 let winids = win_findbuf(buf) |
1151 call append("$", "warn\twarn when using a shell command and a buffer has changes") | 1151 call append("$", "warn\twarn when using a shell command and a buffer has changes") |
1152 call <SID>BinOptionG("warn", &warn) | 1152 call <SID>BinOptionG("warn", &warn) |
1153 | 1153 |
1154 | 1154 |
1155 if has("quickfix") | 1155 if has("quickfix") |
1156 call <SID>Header("running make and jumping to errors") | 1156 call <SID>Header("running make and jumping to errors (quickfix)") |
1157 call append("$", "errorfile\tname of the file that contains error messages") | 1157 call append("$", "errorfile\tname of the file that contains error messages") |
1158 call <SID>OptionG("ef", &ef) | 1158 call <SID>OptionG("ef", &ef) |
1159 call append("$", "errorformat\tlist of formats for error messages") | 1159 call append("$", "errorformat\tlist of formats for error messages") |
1160 call append("$", "\t(global or local to buffer)") | 1160 call append("$", "\t(global or local to buffer)") |
1161 call <SID>OptionG("efm", &efm) | 1161 call <SID>OptionG("efm", &efm) |
1172 call append("$", "grepformat\tlist of formats for output of 'grepprg'") | 1172 call append("$", "grepformat\tlist of formats for output of 'grepprg'") |
1173 call <SID>OptionG("gfm", &gfm) | 1173 call <SID>OptionG("gfm", &gfm) |
1174 call append("$", "makeencoding\tencoding of the \":make\" and \":grep\" output") | 1174 call append("$", "makeencoding\tencoding of the \":make\" and \":grep\" output") |
1175 call append("$", "\t(global or local to buffer)") | 1175 call append("$", "\t(global or local to buffer)") |
1176 call <SID>OptionG("menc", &menc) | 1176 call <SID>OptionG("menc", &menc) |
1177 call append("$", "quickfixtextfunc\tfunction to display text in the quickfix window") | |
1178 call <SID>OptionG("qftf", &qftf) | |
1177 endif | 1179 endif |
1178 | 1180 |
1179 | 1181 |
1180 if has("win32") || has("osfiletype") | 1182 if has("win32") || has("osfiletype") |
1181 call <SID>Header("system specific") | 1183 call <SID>Header("system specific") |