mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/markdown-preview: fix browserFunc rename
This commit is contained in:
parent
2d5949f65c
commit
f1881b4e4b
1 changed files with 14 additions and 2 deletions
|
@ -24,7 +24,6 @@ mkVimPlugin {
|
||||||
"openIp"
|
"openIp"
|
||||||
"browser"
|
"browser"
|
||||||
"echoPreviewUrl"
|
"echoPreviewUrl"
|
||||||
"browserFunc"
|
|
||||||
"previewOptions"
|
"previewOptions"
|
||||||
"markdownCss"
|
"markdownCss"
|
||||||
"highlightCss"
|
"highlightCss"
|
||||||
|
@ -46,6 +45,19 @@ mkVimPlugin {
|
||||||
"filetypes"
|
"filetypes"
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
(mkRenamedOptionModule
|
||||||
|
[
|
||||||
|
"plugins"
|
||||||
|
"markdown-preview"
|
||||||
|
"browserFunc"
|
||||||
|
]
|
||||||
|
[
|
||||||
|
"plugins"
|
||||||
|
"markdown-preview"
|
||||||
|
"settings"
|
||||||
|
"browserfunc"
|
||||||
|
]
|
||||||
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
settingsOptions = {
|
settingsOptions = {
|
||||||
|
@ -86,7 +98,7 @@ mkVimPlugin {
|
||||||
Echo preview page url in command line when opening the preview page.
|
Echo preview page url in command line when opening the preview page.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
browser_func = helpers.defaultNullOpts.mkStr "" ''
|
browserfunc = helpers.defaultNullOpts.mkStr "" ''
|
||||||
A custom vim function name to open preview page.
|
A custom vim function name to open preview page.
|
||||||
This function will receive url as param.
|
This function will receive url as param.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue