diff --git a/autoload/ctrlp/buffertag.vim b/autoload/ctrlp/buffertag.vim index 0a24eef..2af1fe0 100644 --- a/autoload/ctrlp/buffertag.vim +++ b/autoload/ctrlp/buffertag.vim @@ -158,7 +158,7 @@ fu! s:esctagscmd(bin, args, ...) let &ssl = ssl en if has('iconv') - let last = s:enc != &enc ? s:enc : !empty($LANG) ? $LANG : &enc + let last = s:enc != &enc ? s:enc : !empty( $LANG ) ? $LANG : &enc let cmd = iconv(cmd, &enc, last) en retu cmd diff --git a/autoload/ctrlp/utils.vim b/autoload/ctrlp/utils.vim index 7a74b7f..d54fd38 100644 --- a/autoload/ctrlp/utils.vim +++ b/autoload/ctrlp/utils.vim @@ -15,7 +15,7 @@ endf fu! ctrlp#utils#opts() let s:lash = ctrlp#utils#lash() - let usrhome = $HOME.s:lash($HOME) + let usrhome = $HOME . s:lash( $HOME ) let cahome = exists('$XDG_CACHE_HOME') ? $XDG_CACHE_HOME : usrhome.'.cache' let cadir = isdirectory(usrhome.'.ctrlp_cache') \ ? usrhome.'.ctrlp_cache' : cahome.s:lash(cahome).'ctrlp'