Skip to content

Commit 6583139

Browse files
authored
Merge pull request #358 from lambdalisue/fix-example
Remove unnecessary leading `\` from example
2 parents ff74cd4 + 9b1c745 commit 6583139

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/fern.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ For example, following execute "open" on leaf but "expand" on branch.
226226
>
227227
nmap <buffer><expr> <Plug>(fern-my-open-or-expand)
228228
\ fern#smart#leaf(
229-
\ "\<Plug>(fern-action-open)",
230-
\ "\<Plug>(fern-action-expand)",
229+
\ "<Plug>(fern-action-open)",
230+
\ "<Plug>(fern-action-expand)",
231231
\ )
232232
<
233233
See https://github.com/lambdalisue/fern.vim/wiki/ for custom tips.
@@ -650,18 +650,18 @@ fern#smart#leaf({leaf}, {collapsed}[, {expanded}])
650650
nmap <buffer><expr>
651651
\ <Plug>(fern-my-open-or-enter)
652652
\ fern#smart#leaf(
653-
\ "\<Plug>(fern-action-open)",
654-
\ "\<Plug>(fern-action-enter)",
653+
\ "<Plug>(fern-action-open)",
654+
\ "<Plug>(fern-action-enter)",
655655
\ )
656656
657657
" Perform 'open' on leaf node, 'expand' on collapsed node, and
658658
" 'collapse' on expanded node.
659659
nmap <buffer><expr>
660660
\ <Plug>(fern-my-open-or-expand-or-collapse)
661661
\ fern#smart#leaf(
662-
\ "\<Plug>(fern-action-open)",
663-
\ "\<Plug>(fern-action-expand)",
664-
\ "\<Plug>(fern-action-collapse)",
662+
\ "<Plug>(fern-action-open)",
663+
\ "<Plug>(fern-action-expand)",
664+
\ "<Plug>(fern-action-collapse)",
665665
\ )
666666
<
667667
*fern#smart#drawer()*
@@ -675,8 +675,8 @@ fern#smart#drawer({drawer}, {drawer-right}, {explorer})
675675
nmap <buffer><expr>
676676
\ <Plug>(fern-expand-or-enter)
677677
\ fern#smart#drawer(
678-
\ "\<Plug>(fern-action-expand)",
679-
\ "\<Plug>(fern-action-enter)",
678+
\ "<Plug>(fern-action-expand)",
679+
\ "<Plug>(fern-action-enter)",
680680
\ )
681681
<
682682
*fern#smart#scheme()*

0 commit comments

Comments
 (0)