Browse Source

Removing vim ALE for now

pull/2/head
Ryan Reed 3 years ago
parent
commit
201745d6d7
3 changed files with 0 additions and 34 deletions
  1. +0
    -4
      .chezmoiexternal.toml
  2. +0
    -1
      dot_vim/README.md
  3. +0
    -29
      dot_vim/vimrc

+ 0
- 4
.chezmoiexternal.toml View File

@ -43,7 +43,3 @@
type = "archive"
url = "https://github.com/tpope/vim-surround/archive/master.tar.gz"
stripComponents = 1
[".vim/pack/git-plugins/start/ale"]
type = "archive"
url = "https://github.com/dense-analysis/ale/archive/master.tar.gz"
stripComponents = 1

+ 0
- 1
dot_vim/README.md View File

@ -31,7 +31,6 @@ Note: Some features require version 8+ of vim. For instance, the ALE plugin whic
## Plugins
* ~~[Easymotion](https://github.com/easymotion/vim-easymotion) - Easily navigate documents~~ Disabled recently as unused, although useful
* [Asynchronous Lint Engine (ALE)](https://github.com/dense-analysis/ale) - Linting while working
* [Gruvbox](https://github.com/morhetz/gruvbox) - Retro colorscheme (colorscheme in vimrc)
* ~~[Matchit](https://github.com/adelarsq/vim-matchit) - For expanding % matching (matches start/end tags for html, for example)~~ Disabled recently as possibly unused
* [Lightline](https://github.com/itchyny/lightline.vim) - Configurable statusline/tabline


+ 0
- 29
dot_vim/vimrc View File

@ -29,31 +29,6 @@
packadd! matchit
packloadall " Load plugins (for utilizing ~/.vim/pack loading in vim 8+)
" ALE - Asynchronous Line Engine
nmap <silent> <leader>k <Plug>(ale_previous_wrap)
nmap <silent> <leader>j <Plug>(ale_next_wrap)
let g:airline#extensions#ale#enabled = 1
let g:ale_echo_msg_error_str = 'E'
let g:ale_echo_msg_warning_str = 'W'
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
function! LinterStatus() abort
" Display all errors as one figure, and all non-errors as another figure
let l:counts = ale#statusline#Count(bufnr(''))
let l:all_errors = l:counts.error + l:counts.style_error
let l:all_non_errors = l:counts.total - l:all_errors
return l:counts.total == 0 ? 'OK' : printf(
\ '%dW %dE',
\ all_non_errors,
\ all_errors
\)
endfunction
set statusline=%{LinterStatus()}
" Pathogen
execute pathogen#infect()
call pathogen#helptags() " generate helptags for everything in ‘runtimepath’
@ -120,10 +95,6 @@
vmap <leader>a<Bar> :Tab /<Bar><CR>
endif
" Plugin - vim-rainbow
" DISABLED: Interferes with spellcheck
" let g:rainbow_active = 1
" Plugin - vim-surround
" This allows for surrounding test with something
" Note: In the following, [ will add a space around text, ] will not (e.g. [ TEST ] vs [TEST])


Loading…
Cancel
Save