From 6996b6b24fbc5cadb93384b9ddd9e1407b63f46a Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 1 Aug 2021 00:46:00 +0800 Subject: [PATCH] ALE is not needed (use nvim-lsp instead) --- core/plugins.vim | 14 -------------- lua/plugins.lua | 3 --- 2 files changed, 17 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index db4d7b3..5b830c8 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -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 = { diff --git a/lua/plugins.lua b/lua/plugins.lua index 96e964b..8471f54 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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'