Skip to content

Commit 0118386

Browse files
committed
Corrected the order of function calls
1 parent ecebdb4 commit 0118386

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/fern/internal/drawer/hover_popup.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ function! s:show() abort
7373
function! s:apply() abort closure
7474
call setbufline('%', 1, line)
7575
call helper.fern.renderer.syntax()
76-
call fern#hook#emit('viewer:highlight', helper)
77-
doautocmd <nomodeline> User FernHighlight
78-
call helper.fern.renderer.highlight()
7976
call fern#hook#emit('viewer:syntax', helper)
8077
doautocmd <nomodeline> User FernSyntax
78+
call helper.fern.renderer.highlight()
79+
call fern#hook#emit('viewer:highlight', helper)
80+
doautocmd <nomodeline> User FernHighlight
8181
syntax clear FernRootSymbol
8282
syntax clear FernRootText
8383

0 commit comments

Comments
 (0)