mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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"
|
||||
"browser"
|
||||
"echoPreviewUrl"
|
||||
"browserFunc"
|
||||
"previewOptions"
|
||||
"markdownCss"
|
||||
"highlightCss"
|
||||
|
@ -46,6 +45,19 @@ mkVimPlugin {
|
|||
"filetypes"
|
||||
]
|
||||
)
|
||||
(mkRenamedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"markdown-preview"
|
||||
"browserFunc"
|
||||
]
|
||||
[
|
||||
"plugins"
|
||||
"markdown-preview"
|
||||
"settings"
|
||||
"browserfunc"
|
||||
]
|
||||
)
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
|
@ -86,7 +98,7 @@ mkVimPlugin {
|
|||
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.
|
||||
This function will receive url as param.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue