mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
plugins/markdown-preview: add tests
This commit is contained in:
parent
44a31bd1fe
commit
7e279e6e91
1 changed files with 46 additions and 0 deletions
46
tests/test-sources/plugins/languages/markdown-preview.nix
Normal file
46
tests/test-sources/plugins/languages/markdown-preview.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.markdown-preview.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
example = {
|
||||||
|
plugins.markdown-preview = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
auto_start = true;
|
||||||
|
auto_close = true;
|
||||||
|
refresh_slow = false;
|
||||||
|
command_for_global = false;
|
||||||
|
open_to_the_world = false;
|
||||||
|
open_ip = "";
|
||||||
|
browser = "firefox";
|
||||||
|
echo_preview_url = true;
|
||||||
|
browser_func = "";
|
||||||
|
preview_options = {
|
||||||
|
mkit = [];
|
||||||
|
katex = [];
|
||||||
|
uml = [];
|
||||||
|
maid = [];
|
||||||
|
disable_sync_scroll = false;
|
||||||
|
sync_scroll_type = "middle";
|
||||||
|
hide_yaml_meta = true;
|
||||||
|
sequence_diagrams = [];
|
||||||
|
flowchart_diagrams = [];
|
||||||
|
content_editable = false;
|
||||||
|
disable_filename = false;
|
||||||
|
toc = [];
|
||||||
|
};
|
||||||
|
markdown_css = "/Users/username/markdown.css";
|
||||||
|
highlight_css.__raw = "vim.fn.expand('~/highlight.css')";
|
||||||
|
port = "8080";
|
||||||
|
page_title = "「\$\{name}」";
|
||||||
|
images_path = "";
|
||||||
|
filetypes = ["markdown"];
|
||||||
|
theme = "dark";
|
||||||
|
combine_preview = false;
|
||||||
|
combine_preview_auto_refresh = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue