From 6d46110907b6f9190c91fb0e6f0afb539d58344c Mon Sep 17 00:00:00 2001 From: eidheim Date: Sun, 20 Jun 2021 20:50:49 +0200 Subject: [PATCH] Added support for Julia's end keywork in show_or_hide() --- src/source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cpp b/src/source.cpp index 6586568..00d4c0f 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -1858,7 +1858,7 @@ void Source::View::show_or_hide() { end = get_buffer()->get_iter_at_line(end.get_line()); break; } - static std::vector exact = {"}", ")", "]", ">", " exact = {"}", ")", "]", ">", " followed_by_non_token_char = {"elseif", "elif", "catch", "case", "default", "private", "public", "protected"}; if(text == "{") { // C/C++ sometimes starts a block with a standalone { if(!is_token_char(*last_tabs_end)) {