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.
This commit is contained in:

committed by
GitHub

parent
1e9e523521
commit
3ebde5ea14
@@ -4844,7 +4844,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