Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Markdown-folding in diff mode #538

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

KSR-Yasuda
Copy link
Contributor

Fix for #427.

- To avoid Markdown-folding in diff mode
- Known issue: If any other `foldexpr` is already set precedingly, Markdown-folding is suppressed
This reverts commit 23a00a2.
@KSR-Yasuda
Copy link
Contributor Author

Off-topic: some tests do not work correctly in non-English environment?

For example, fold text result test in test/folding-toc.vader,
it expects +-- 28 lines: hello in the folding marker line, though,
Japanese environment shows +-- 28 行: hello, and the test fails.

Tried to fix it with setting $LANG, $LANGUAGE, and $LC_ALL environment variables in test/run-tests.sh,
but it did not have any effect.
I gave up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant