I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,28 @@
if (exists('g:loaded_lsp_ale') && g:loaded_lsp_ale) || &cp
finish
endif
let g:loaded_lsp_ale = 1
let g:lsp_ale_diagnostics_severity = get(g:, 'lsp_ale_diagnostics_severity', 'information')
let g:lsp_ale_auto_enable_linter = get(g:, 'lsp_ale_auto_enable_linter', v:true)
if get(g:, 'lsp_ale_auto_config_vim_lsp', v:true)
" Enable diagnostics and disable all functionalities to show error
" messages by vim-lsp
let g:lsp_diagnostics_enabled = 1
let g:lsp_diagnostics_echo_cursor = 0
let g:lsp_diagnostics_float_cursor = 0
let g:lsp_diagnostics_highlights_enabled = 0
let g:lsp_diagnostics_signs_enabled = 0
let g:lsp_diagnostics_virtual_text_enabled = 0
endif
if get(g:, 'lsp_ale_auto_config_ale', v:true)
" Disable ALE's LSP integration
let g:ale_disable_lsp = 1
endif
augroup plugin-lsp-ale
autocmd!
autocmd User lsp_setup call lsp#ale#enable()
autocmd User ALEWantResults call lsp#ale#on_ale_want_results(g:ale_want_results_buffer)
augroup END