mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
ALE is not needed (use nvim-lsp instead)
This commit is contained in:
parent
9a1066b4e9
commit
6996b6b24f
@ -217,20 +217,6 @@ let g:XkbSwitchEnabled = 1
|
||||
"}}
|
||||
|
||||
"{{ Linting and formating
|
||||
"""""""""""""""""""""""""""""" ale settings """""""""""""""""""""""
|
||||
" linters for different filetypes
|
||||
let g:ale_linters = {
|
||||
\ 'vim': ['vint'],
|
||||
\ 'cpp': ['cppcheck'],
|
||||
\ }
|
||||
|
||||
" Only run linters in the g:ale_linters dictionary
|
||||
let g:ale_linters_explicit = 1
|
||||
|
||||
" Linter signs
|
||||
let g:ale_sign_error = 'x'
|
||||
let g:ale_sign_warning = '!'
|
||||
|
||||
"""""""""""""""""""""""""""""" neoformat settings """""""""""""""""""""""
|
||||
let g:neoformat_enabled_python = ['black', 'yapf']
|
||||
let g:neoformat_cpp_clangformat = {
|
||||
|
||||
@ -165,9 +165,6 @@ require('packer').startup(
|
||||
-- Syntax check and make
|
||||
-- use 'neomake/neomake'
|
||||
|
||||
-- Another linting plugin
|
||||
use 'dense-analysis/ale'
|
||||
|
||||
-- Auto format tools
|
||||
use {'sbdchd/neoformat', cmd = {'Neoformat', }}
|
||||
-- use 'Chiel92/vim-autoformat'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user