diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-30 13:55:58 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-30 13:55:58 +0100 |
commit | 0a40cd2de123204c393b9905b88b499330c7593f (patch) | |
tree | 60f7b77d11de740d6f6528765f1102f4881a07bc /vim/vimrc | |
parent | 327d050c279295743affcb9441edf7d4b8345acf (diff) |
Remove YCM
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -143,7 +143,7 @@ call plug#begin() Plug 'mattn/emmet-vim', Plug 'lambdalisue/fern.vim', Plug 'tpope/vim-rails', -Plug 'ycm-core/YouCompleteMe' +" Plug 'ycm-core/YouCompleteMe' Plug 'vim-ruby/vim-ruby', Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' @@ -173,11 +173,11 @@ call plug#end() "<tab> if you use one of the following: " - https://github.com/Valloric/YouCompleteMe " - https://github.com/nvim-lua/completion-nvim -let g:UltiSnipsExpandTrigger="<S-t>" -let g:UltiSnipsJumpForwardTrigger="<S-f>" -let g:UltiSnipsJumpBackwardTrigger="<S-b>" -let g:ycm_key_list_select_completion=[] -let g:ycm_key_list_previous_completion=[] +" let g:UltiSnipsExpandTrigger="<S-t>" +" let g:UltiSnipsJumpForwardTrigger="<S-f>" +" let g:UltiSnipsJumpBackwardTrigger="<S-b>" +" let g:ycm_key_list_select_completion=[] +" let g:ycm_key_list_previous_completion=[] " " }}} " {{{ emmet @@ -232,7 +232,7 @@ let g:ale_echo_msg_error_str = 'ALE Error' let g:ale_echo_msg_format = 'ALE: %linter% - %code: %%s' let g:ale_loclist_msg_format = 'ALE: %linter% - %code: %%s' let g:ale_echo_msg_warning_str = 'ALE Warning' -let g:ale_linters = {'python': ['pyright', 'flake8', 'mypy'], +let g:ale_linters = {'python': ['pyright', 'ruff', 'flake8', 'mypy'], \ 'ocaml': ['merlin'], \ 'javascript': ['eslint'], \ 'cpp': ['clangd'], @@ -241,7 +241,7 @@ let g:ale_linters = {'python': ['pyright', 'flake8', 'mypy'], \ 'go': ['gopls', 'golint', 'gofmt'], \} let g:ale_fixers = { -\ 'python': ['autoimport', 'isort', 'yapf', 'black'], +\ 'python': ['autoimport', 'ruff', 'isort', 'yapf', 'black'], \ 'javascript': ['eslint'], \ 'go': ['gofmt', 'goimports', 'gopls'], \ 'cpp': ['clang-format'], @@ -255,6 +255,12 @@ let g:ale_python_mypy_options = '--config-file mypy.ini' let g:ale_fix_on_save = 1 let g:ale_linters_explicit = 0 let g:ale_completion_enabled = 0 +" Map movement through errors without wrapping. +" nmap <silent> <C-k> <Plug>(ale_previous) +" nmap <silent> <C-j> <Plug>(ale_next) +" OR map keys to use wrapping. +nmap <silent> <C-k> <Plug>(ale_previous_wrap) +nmap <silent> <C-j> <Plug>(ale_next_wrap) set omnifunc=ale#completion#OmniFunc " }}} " :grep use ripgrep {{{ |