From 2be9ff513840d396179cb7f4934898e9640cb777 Mon Sep 17 00:00:00 2001 From: lambdalisue Date: Thu, 30 Jul 2020 06:21:31 +0900 Subject: [PATCH] Make sure FileType has called prior to touch syntax --- autoload/fern/internal/viewer.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fern/internal/viewer.vim b/autoload/fern/internal/viewer.vim index b7c36bb9..113f138d 100644 --- a/autoload/fern/internal/viewer.vim +++ b/autoload/fern/internal/viewer.vim @@ -104,6 +104,7 @@ endfunction function! s:BufReadCmd() abort let helper = fern#helper#new() + setlocal filetype=fern call helper.fern.renderer.syntax() call fern#hook#emit('renderer:syntax', helper) let root = helper.sync.get_root_node()