From 201745d6d7c15aba78950f2cb4b8d6726e9cd84c Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Fri, 22 Oct 2021 20:58:16 -0400 Subject: [PATCH] Removing vim ALE for now --- .chezmoiexternal.toml | 4 ---- dot_vim/README.md | 1 - dot_vim/vimrc | 29 ----------------------------- 3 files changed, 34 deletions(-) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 1268213..d900a7a 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -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 diff --git a/dot_vim/README.md b/dot_vim/README.md index 42a670f..a2e45e5 100644 --- a/dot_vim/README.md +++ b/dot_vim/README.md @@ -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 diff --git a/dot_vim/vimrc b/dot_vim/vimrc index 6891d0e..b925862 100644 --- a/dot_vim/vimrc +++ b/dot_vim/vimrc @@ -29,31 +29,6 @@ packadd! matchit packloadall " Load plugins (for utilizing ~/.vim/pack loading in vim 8+) - " ALE - Asynchronous Line Engine - nmap k (ale_previous_wrap) - nmap j (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 a :Tab / 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])