diff --git a/vimrc b/vimrc index e215352..8dad2b5 100644 --- a/vimrc +++ b/vimrc @@ -283,10 +283,10 @@ let g:syntastic_yaml_checkers = ['yamllint'] "Plug "Shougo/neocomplcache" " Use neocomplcache. -let g:neocomplcache_enable_at_startup = 1 -" Set minimum syntax keyword length. -let g:neocomplcache_min_syntax_length = 3 -let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' +"let g:neocomplcache_enable_at_startup = 1 +"" Set minimum syntax keyword length. +"let g:neocomplcache_min_syntax_length = 3 +"let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' "########################## @@ -932,6 +932,9 @@ function! ModeChange() if getline(1) =~ "/bin/" silent !chmod a+x endif + if getline(1) =~ "/usr/bin/" + silent !chmod a+x + endif endif endfunction