Skip to content

Commit 38014d0

Browse files
committed
Added <buffer> to local mappings
1 parent 9e6d1f9 commit 38014d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftplugin/markdown.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def SetMarkdownOpFunc()
5858
enddef
5959

6060
# Hack on 'gq'
61-
nnoremap <silent> gq <ScriptCmd>SetMarkdownOpFunc()<cr>g@
62-
xnoremap <silent> gq <ScriptCmd>SetMarkdownOpFunc()<cr>g@
61+
nnoremap <buffer> <silent> gq <ScriptCmd>SetMarkdownOpFunc()<cr>g@
62+
xnoremap <buffer> <silent> gq <ScriptCmd>SetMarkdownOpFunc()<cr>g@
6363
6464
# --------------End prettier ------------------------
6565

0 commit comments

Comments
 (0)