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/lua.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin/lua.vim') diff --git a/after/ftplugin/lua.vim b/after/ftplugin/lua.vim index 193a5d1..73b1a8f 100644 --- a/after/ftplugin/lua.vim +++ b/after/ftplugin/lua.vim @@ -2,7 +2,7 @@ set formatoptions-=o set formatoptions-=r -nnoremap :luafile % +nnoremap :luafile % " For delimitMate let b:delimitMate_matchpairs = "(:),[:],{:}" -- cgit v1.2.3