diff options
| author | Kumar Damani <me@kumardamani.net> | 2022-07-10 22:15:05 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2022-07-10 22:15:05 +0000 |
| commit | 81f34273a997b7a319598b2622ac15530d8dc534 (patch) | |
| tree | 07dc611d8276fbacfafbd7863313c4423d86ca44 /nvim | |
| parent | b182278f29cef1e2beb9b2446b63c8d4eb9bedff (diff) | |
routine updates
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/.config/nvim/coc-settings.json | 7 | ||||
| -rw-r--r-- | nvim/.config/nvim/init.vim | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json index fadc705..4361d90 100644 --- a/nvim/.config/nvim/coc-settings.json +++ b/nvim/.config/nvim/coc-settings.json @@ -6,6 +6,11 @@ "ansible.ansibleLint.enabled": true, "snippets.snipmate.enable": false, "pylsp.plugins.pycodestyle.enabled": false, + "pylsp.plugins.pyflakes.enabled": false, "pylsp.plugins.pylint.enabled": true, - "pylsp.plugins.pylint.args": ["--rcfile=~/kepler/python/kepler/.pylintrc"] + "pylsp.plugins.pylint.args": ["--rcfile=/home/kdam0/kepler/kepler/python/kepler/.pylintrc"], + "pylsp.builtin.enableInstallPylspMypy": true, + "pylsp.builtin.pylspMypyVersion": "0.961", + "pylsp.plugins.pydocstyle.enabled": true, + "pydocstring.enable": true } diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index da0fcb0..32adf25 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -43,8 +43,8 @@ call plug#end() " highlight NonText ctermfg=yellow guifg=yellow set noswapfile set encoding=utf-8 - set number - set relativenumber + " set number + " set relativenumber "set cursorline let mapleader = "," set pastetoggle=<leader>v @@ -168,6 +168,7 @@ call plug#end() map <Leader>g :ProjectFiles<CR> map <Leader>f :Files<CR> + map <Leader>b :Buffers<CR> " Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable. @@ -200,6 +201,8 @@ call plug#end() highlight CocErrorHighlight ctermfg=Red guifg=#ff0000 highlight CocFloating ctermbg=Black nmap <silent> ga <Plug>(coc-codeaction-line) + xmap <silent> ga <Plug>(coc-codeaction-selected) + nmap <silent> gA <Plug>(coc-codeaction) imap <C-l> <Plug>(coc-snippets-expand) " Use <C-j> for jump to next placeholder, it's default of coc.nvim let g:coc_snippet_next = '<c-j>' |
