From 3753456a09188f78f3924820dbcac114c412c088 Mon Sep 17 00:00:00 2001 From: Amir Salihefendic Date: Wed, 7 Feb 2018 15:22:29 +0100 Subject: [PATCH] Ensure we have a leading space in key comments It's related to bindings in JavaScript and Python. --- vimrcs/filetypes.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrcs/filetypes.vim b/vimrcs/filetypes.vim index 70c4634c..9ce67913 100644 --- a/vimrcs/filetypes.vim +++ b/vimrcs/filetypes.vim @@ -12,7 +12,7 @@ au FileType python map F :set foldmethod=indent au FileType python inoremap $r return au FileType python inoremap $i import au FileType python inoremap $p print -au FileType python inoremap $f #--- a +au FileType python inoremap $f # --- a au FileType python map 1 /class au FileType python map 2 /def au FileType python map C ?class @@ -33,7 +33,7 @@ au FileType javascript imap $log();hi au FileType javascript imap alert();hi au FileType javascript inoremap $r return -au FileType javascript inoremap $f //--- PHFP2xi +au FileType javascript inoremap $f // --- PHFP2xi function! JavaScriptFold() setl foldmethod=syntax