mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-28 18:24:12 -05:00
plugins/markdown-preview: fix browserFunc rename
This commit is contained in:
@@ -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.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user