mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(defaults): keywordprg=:help on Windows #33336
Problem:
As `:h kp` says, the default value for keywordprg
should be ':help' on Windows. It is currently
always ':Man'.
Solution:
Add condition to options.lua which sets keywordprg
to ':help' if running on windows.
(cherry picked from commit 3ebde5ea14
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
29011e4d45
commit
2182272139
@@ -4789,7 +4789,9 @@ local options = {
|
|||||||
{
|
{
|
||||||
abbreviation = 'kp',
|
abbreviation = 'kp',
|
||||||
defaults = {
|
defaults = {
|
||||||
if_true = ':Man',
|
condition = 'MSWIN',
|
||||||
|
if_true = ':help',
|
||||||
|
if_false = ':Man',
|
||||||
doc = '":Man", Windows: ":help"',
|
doc = '":Man", Windows: ":help"',
|
||||||
},
|
},
|
||||||
desc = [=[
|
desc = [=[
|
||||||
|
Reference in New Issue
Block a user