Skip to content

Commit b5f4635

Browse files
authored
Merge pull request #455 from brandon1024/root-symbol-highlight
renderer: fix syntax highlight for root symbol
2 parents d0ada5b + a6cded1 commit b5f4635

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/fern/renderer/default.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ endfunction
4040
function! s:syntax() abort
4141
syntax match FernLeaf /^.*[^/].*$/ transparent contains=FernLeafSymbol
4242
syntax match FernBranch /^.*\/.*$/ transparent contains=FernBranchSymbol
43-
syntax match FernRoot /\%1l.*/ transparent contains=FernRootText
43+
syntax match FernRoot /\%1l.*/ transparent contains=FernRootSymbol
4444
execute printf(
4545
\ 'syntax match FernRootSymbol /%s/ contained nextgroup=FernRootText',
4646
\ escape(g:fern#renderer#default#root_symbol, s:ESCAPE_PATTERN),

doc/fern-develop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ nodes as a tree.
561561
Return a promise which is resolved to a list of |String|.
562562

563563
Change (v1.6.0):~
564-
Second argumet ({marks}) has removed.
564+
Second argument ({marks}) has removed.
565565

566566
*fern-develop-renderer.index()*
567567
.index({lnum})

0 commit comments

Comments
 (0)