From 81f34273a997b7a319598b2622ac15530d8dc534 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Sun, 10 Jul 2022 18:15:05 -0400 Subject: routine updates --- nvim/.config/nvim/coc-settings.json | 7 ++++++- nvim/.config/nvim/init.vim | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'nvim') 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=v @@ -168,6 +168,7 @@ call plug#end() map g :ProjectFiles map f :Files + map b :Buffers " 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 ga (coc-codeaction-line) + xmap ga (coc-codeaction-selected) + nmap gA (coc-codeaction) imap (coc-snippets-expand) " Use for jump to next placeholder, it's default of coc.nvim let g:coc_snippet_next = '' -- cgit v1.2.3