From 074d2bbdfdbdb0ce0d7631a3b9406bd172e0d851 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 15 Nov 2022 01:08:56 +0800 Subject: make filetype mapping local Otherwise, the mapping will be global and leak to unrelated to files. --- after/ftplugin/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin/vim.vim') diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim index 4e9a2a4..17dcedb 100644 --- a/after/ftplugin/vim.vim +++ b/after/ftplugin/vim.vim @@ -12,4 +12,4 @@ set foldmethod=expr foldexpr=utils#VimFolds(v:lnum) foldtext=utils#MyFoldText() " see `:h K` and https://stackoverflow.com/q/15867323/6064933 set keywordprg=:help -nnoremap :source % +nnoremap :source % -- cgit v1.2.3