mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
tests/plugins/headlines: disable org-related tests
This commit is contained in:
parent
1681cc3869
commit
4d5e3b335b
1 changed files with 49 additions and 46 deletions
|
@ -168,55 +168,58 @@
|
||||||
fat_headline_upper_string = "▃";
|
fat_headline_upper_string = "▃";
|
||||||
fat_headline_lower_string = "🬂";
|
fat_headline_lower_string = "🬂";
|
||||||
};
|
};
|
||||||
org = {
|
# Fails with:
|
||||||
query.__raw = ''
|
# no parser for 'org' language, see :help treesitter-parsers
|
||||||
vim.treesitter.query.parse(
|
# TODO: re-enable when possible
|
||||||
"org",
|
# org = {
|
||||||
[[
|
# query.__raw = ''
|
||||||
(headline (stars) @headline)
|
# vim.treesitter.query.parse(
|
||||||
|
# "org",
|
||||||
|
# [[
|
||||||
|
# (headline (stars) @headline)
|
||||||
|
|
||||||
(
|
# (
|
||||||
(expr) @dash
|
# (expr) @dash
|
||||||
(#match? @dash "^-----+$")
|
# (#match? @dash "^-----+$")
|
||||||
)
|
# )
|
||||||
|
|
||||||
(block
|
# (block
|
||||||
name: (expr) @_name
|
# name: (expr) @_name
|
||||||
(#match? @_name "(SRC|src)")
|
# (#match? @_name "(SRC|src)")
|
||||||
) @codeblock
|
# ) @codeblock
|
||||||
|
|
||||||
(paragraph . (expr) @quote
|
# (paragraph . (expr) @quote
|
||||||
(#eq? @quote ">")
|
# (#eq? @quote ">")
|
||||||
)
|
# )
|
||||||
]]
|
# ]]
|
||||||
)
|
# )
|
||||||
'';
|
# '';
|
||||||
headline_highlights = [ "Headline" ];
|
# headline_highlights = [ "Headline" ];
|
||||||
bullet_highlights = [
|
# bullet_highlights = [
|
||||||
"@org.headline.level1"
|
# "@org.headline.level1"
|
||||||
"@org.headline.level2"
|
# "@org.headline.level2"
|
||||||
"@org.headline.level3"
|
# "@org.headline.level3"
|
||||||
"@org.headline.level4"
|
# "@org.headline.level4"
|
||||||
"@org.headline.level5"
|
# "@org.headline.level5"
|
||||||
"@org.headline.level6"
|
# "@org.headline.level6"
|
||||||
"@org.headline.level7"
|
# "@org.headline.level7"
|
||||||
"@org.headline.level8"
|
# "@org.headline.level8"
|
||||||
];
|
# ];
|
||||||
bullets = [
|
# bullets = [
|
||||||
"◉"
|
# "◉"
|
||||||
"○"
|
# "○"
|
||||||
"✸"
|
# "✸"
|
||||||
"✿"
|
# "✿"
|
||||||
];
|
# ];
|
||||||
codeblock_highlight = "CodeBlock";
|
# codeblock_highlight = "CodeBlock";
|
||||||
dash_highlight = "Dash";
|
# dash_highlight = "Dash";
|
||||||
dash_string = "-";
|
# dash_string = "-";
|
||||||
quote_highlight = "Quote";
|
# quote_highlight = "Quote";
|
||||||
quote_string = "┃";
|
# quote_string = "┃";
|
||||||
fat_headlines = true;
|
# fat_headlines = true;
|
||||||
fat_headline_upper_string = "▃";
|
# fat_headline_upper_string = "▃";
|
||||||
fat_headline_lower_string = "🬂";
|
# fat_headline_lower_string = "🬂";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue