Add execute permission on scripts
This commit is contained in:
parent
11ecf1c17c
commit
63af38d223
11
vimrc
11
vimrc
|
@ -283,10 +283,10 @@ let g:syntastic_yaml_checkers = ['yamllint']
|
||||||
"Plug "Shougo/neocomplcache"
|
"Plug "Shougo/neocomplcache"
|
||||||
|
|
||||||
" Use neocomplcache.
|
" Use neocomplcache.
|
||||||
let g:neocomplcache_enable_at_startup = 1
|
"let g:neocomplcache_enable_at_startup = 1
|
||||||
" Set minimum syntax keyword length.
|
"" Set minimum syntax keyword length.
|
||||||
let g:neocomplcache_min_syntax_length = 3
|
"let g:neocomplcache_min_syntax_length = 3
|
||||||
let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*'
|
"let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*'
|
||||||
|
|
||||||
|
|
||||||
"##########################
|
"##########################
|
||||||
|
@ -932,6 +932,9 @@ function! ModeChange()
|
||||||
if getline(1) =~ "/bin/"
|
if getline(1) =~ "/bin/"
|
||||||
silent !chmod a+x <afile>
|
silent !chmod a+x <afile>
|
||||||
endif
|
endif
|
||||||
|
if getline(1) =~ "/usr/bin/"
|
||||||
|
silent !chmod a+x <afile>
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue