diff options
author | Oxbian <got.dacs@slmail.me> | 2023-06-30 14:24:43 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-06-30 14:24:43 +0200 |
commit | 8b3a4051b31e50c2ccc7c52db95e87f40ccc675a (patch) | |
tree | c33295f82fd73a2223f83f223159db6563f83b26 | |
parent | 70a1687c7487bbe7397d1db71e04f4cb2380fc27 (diff) | |
download | vimrc-8b3a4051b31e50c2ccc7c52db95e87f40ccc675a.tar.gz vimrc-8b3a4051b31e50c2ccc7c52db95e87f40ccc675a.zip |
Updating lsp to use ALE
-rw-r--r-- | .vim/plugins.vim | 37 | ||||
-rw-r--r-- | readme.md | 10 |
2 files changed, 7 insertions, 40 deletions
diff --git a/.vim/plugins.vim b/.vim/plugins.vim index e7e9f6e..8bf05eb 100644 --- a/.vim/plugins.vim +++ b/.vim/plugins.vim @@ -25,10 +25,9 @@ Plug 'tiagofumo/vim-nerdtree-syntax-highlight' " Syntax in nerdtree for files ex Plug 'airblade/vim-gitgutter' " Git diff " Autocompletion, linter, syntax -Plug 'prabirshrestha/vim-lsp' -Plug 'mattn/vim-lsp-settings' -Plug 'prabirshrestha/asyncomplete.vim' -Plug 'prabirshrestha/asyncomplete-lsp.vim' +Plug 'dense-analysis/ale' " Swiss-knife for all this +Plug 'prabirshrestha/asyncomplete.vim' " Autocompletion +Plug 'andreypopp/asyncomplete-ale.vim' " Autocompletion with ale call plug#end() @@ -87,35 +86,7 @@ let g:ale_set_loclist = 0 let g:ale_set_signs = 1 let g:ale_set_highlights = 1 -let g:ale_completion_enabled = 1 -let g:ale_completion_symbols = { -\ 'text': '', -\ 'method': '', -\ 'function': '', -\ 'constructor': '', -\ 'field': '', -\ 'variable': '', -\ 'class': '', -\ 'interface': '', -\ 'module': '', -\ 'property': '', -\ 'unit': 'unit', -\ 'value': 'val', -\ 'enum': '', -\ 'keyword': 'keyword', -\ 'snippet': '', -\ 'color': 'color', -\ 'file': '', -\ 'reference': 'ref', -\ 'folder': '', -\ 'enum member': '', -\ 'constant': '', -\ 'struct': '', -\ 'event': 'event', -\ 'operator': '', -\ 'type_parameter': 'type param', -\ '<default>': 'v' -\ } +let g:ale_completion_enabled = 0 " NerdTree let NERDTreeShowHidden=1 " Show hidden files @@ -18,16 +18,16 @@ Oh and remove neovim, it make some problems with vim. ## Plugins This config has just the necessary plugins installed: + - [OneDark](https://github.com/joshdick/onedark.vim) onedark theme. - [Vim Airline](https://github.com/vim-airline/vim-airline) Vim statusline. - [NerdTree](https://github.com/preservim/nerdtree) to have a file tree in vim. - [Vim devicons](https://github.com/ryanoasis/vim-devicons) language icons for vim. - [Vim nerdtree syntax highlighting](https://github.com/tiagofumo/vim-nerdtree-syntax-highlight) nerdtree syntax highlighting - [Vim gitgutter](https://github.com/airblade/vim-gitgutter) to see diff between files with git. -- [Vim LSP](https://github.com/prabirshrestha/vim-lsp) to add LSP -- [Vim LSP settings](https://github.com/mattn/vim-lsp-settings) auto configuration for installing LSP-server +- [ALE](https://github.com/dense-analysis/ale) vim linter, autocompleter, a Swiss knife for all the LSP things. - [Asyncomplete](https://github.com/prabirshrestha/asyncomplete.vim) async autocompletion -- [Asyncomplete lsp](https://github.com/prabirshrestha/asyncomplete-lsp.vim) LSP server for asyncomplete & vim-lsp +- [Asyncomplete ALE](https://github.com/andreypopp/asyncomplete-ale.vim) LSP server for asyncomplete & ALE ## Command & keybinds @@ -87,10 +87,6 @@ Keybinds: Hunks are the difference between your file and the git file. -### Vim Fugitive - -For help, use `:help fugitive`. - ## Linters & fixers ### Python |