From 63af38d22325020be472b2255dade82746286886 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 28 Apr 2023 14:48:14 +0200 Subject: [PATCH] Add execute permission on scripts --- vimrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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