mirror of
https://github.com/Hizenberg469/environment-setup.git
synced 2026-04-19 21:12:23 +03:00
Made ALE configuration permanent
This commit is contained in:
30
my_vimrc
30
my_vimrc
@@ -202,8 +202,6 @@ command! YCMOn call s:YCMEnable()
|
||||
" ALE : Linting
|
||||
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
function! s:ALEEnable() abort
|
||||
silent! packadd ale
|
||||
|
||||
let g:ale_linters = {
|
||||
\ 'cpp': ['cppcheck'],
|
||||
@@ -248,34 +246,6 @@ function! s:ALEEnable() abort
|
||||
" Set this. Airline will handle the rest.
|
||||
let g:airline#extensions#ale#enabled = 1
|
||||
|
||||
echo "ALE enabled"
|
||||
endfunction
|
||||
|
||||
function! s:ALEDisable() abort
|
||||
|
||||
let g:ale_linters = {
|
||||
\ 'cpp': [''],
|
||||
\ 'c': [''],
|
||||
\ }
|
||||
|
||||
" General settings
|
||||
let g:ale_linters_explicit = 0
|
||||
let g:ale_completion_enabled = 0
|
||||
let g:ale_echo_msg_format = ''
|
||||
let g:ale_set_balloons = 0
|
||||
let g:ale_hover_to_floating_preview = 0
|
||||
let g:ale_use_global_executables = 0
|
||||
let g:ale_sign_column_always = 0
|
||||
let g:ale_disable_lsp = 0
|
||||
|
||||
" Set this. Airline will handle the rest.
|
||||
let g:airline#extensions#ale#enabled = 0
|
||||
|
||||
echo "ALE disabled"
|
||||
endfunction
|
||||
|
||||
command! ALEOn call s:ALEEnable()
|
||||
command! ALEOff call s:ALEDisable()
|
||||
|
||||
" COC.nvim
|
||||
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Reference in New Issue
Block a user