From bbad324b175f1bd35201f0ba73fba1b11af7093d Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sun, 8 Dec 2019 01:05:49 +0100 Subject: fillchars: adding foldopen, foldsep, foldclose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You can try it with set fillchars+=foldopen:▾,foldsep:│,foldclose:▸ --- src/nvim/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/mouse.c') diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index deb7ee6342..d29db2cf92 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -350,7 +350,7 @@ retnomove: count |= CURSOR_MOVED; // Cursor has moved } - if (mouse_char == '+') { + if (mouse_char == curwin->w_p_fcs_chars.foldclosed) { count |= MOUSE_FOLD_OPEN; } else if (mouse_char != ' ') { count |= MOUSE_FOLD_CLOSE; -- cgit