mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DS-326 Disable Markdown folding in notebook files
GitOrigin-RevId: cbfb1c0934b6abebee42a4bcededc9a0b068a9fd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
25e3182229
commit
30709c38eb
@@ -49,6 +49,9 @@ public class MarkdownFoldingBuilder extends CustomFoldingBuilder implements Dumb
|
||||
@NotNull PsiElement root,
|
||||
@NotNull Document document,
|
||||
boolean quick) {
|
||||
if (root.getLanguage() != root.getContainingFile().getViewProvider().getBaseLanguage()) {
|
||||
return;
|
||||
}
|
||||
root.accept(new MarkdownElementVisitor() {
|
||||
@Override
|
||||
public void visitElement(@NotNull PsiElement element) {
|
||||
|
||||
Reference in New Issue
Block a user