Skip to content

Instantly share code, notes, and snippets.

View mareq's full-sized avatar
🦏
bigger and better than 🦄

Mareq mareq

🦏
bigger and better than 🦄
View GitHub Profile
@mareq
mareq / ale_coc.vim
Created April 12, 2021 01:14
CoC & ALE vim configuration
" ALE (#NA; https://vimawesome.com/plugin/ale)
"
" CoC is used as the default choice in this ALE-CoC-mixed configuration. ALE is used only as a fallback for running
" scripts which CoC can not run. In order to make the behaviour uniform, regardless of how the linters are being run,
" this configuration makes CoC send its code-diagnostics to ALE and ALE is used to display them.
" GENERAL BEHAVIOUR
" Disable LSP features in ALE (offloaded to CoC)
" https://github.com/dense-analysis/ale#5iii-how-can-i-use-ale-and-cocnvim-together
" with :CocConfig and add `"diagnostic.displayByAle": true`