diff --git a/autoload/aceforeverd/completion.vim b/autoload/aceforeverd/completion.vim index 95a312c..573bc9e 100644 --- a/autoload/aceforeverd/completion.vim +++ b/autoload/aceforeverd/completion.vim @@ -242,8 +242,8 @@ function! aceforeverd#completion#init_source_coc() abort " Remap and for scroll float windows/popups. if has('nvim-0.4.0') || has('patch-8.2.0750') - nnoremap coc#float#has_scroll() ? coc#float#scroll(1) : "\" - nnoremap coc#float#has_scroll() ? coc#float#scroll(0) : "\" + nmap coc#float#has_scroll() ? coc#float#scroll(1) : "(SmoothieForwards)" + nmap coc#float#has_scroll() ? coc#float#scroll(0) : "(SmoothieBackwards)" inoremap coc#float#has_scroll() ? "\=coc#float#scroll(1)\" : "\" inoremap coc#float#has_scroll() ? "\=coc#float#scroll(0)\" : "\" vnoremap coc#float#has_scroll() ? coc#float#scroll(1) : "\" diff --git a/coc-settings.json b/coc-settings.json index ebafccf..78a62ee 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -36,7 +36,7 @@ "diagnostic-languageserver.filetypes": { "vim": "vint", "sh": "shellcheck", - "markdown": ["write-good"], + "markdown": ["write-good", "languagetool"], "cpp": ["cpplint"], "dockerfile": ["hadolint"], "python": ["mypy", "pylint"] @@ -71,5 +71,20 @@ ] } }, - "translator.engines":["google"] + "diagnostic-languageserver.formatters": { + "black": { + "command": "black", + "args": ["-q", "-"] + }, + "isort": { + "command": "isort", + "args": ["-q", "-"] + }, + "docformatter": { + "command": "docformatter", + "args": ["-"] + } + }, + // coc-translator + "translator.engines": ["google"] } diff --git a/vimrc.vim b/vimrc.vim index 8e10e04..273fbb2 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -168,7 +168,9 @@ if dein#load_state(s:dein_repo) call dein#add('mhinz/vim-startify') call dein#add('ntpeters/vim-better-whitespace') call dein#add('majutsushi/tagbar') + call dein#add('liuchengxu/vista.vim') call dein#add('wincent/terminus') + call dein#add('psliwka/vim-smoothie') call dein#add('chrisbra/Colorizer') call dein#add('junegunn/rainbow_parentheses.vim')