Add colorcolumn to highlight lines too long, set textwidth for

python files
This commit is contained in:
Edward Litherland-Smith 2021-02-11 17:03:29 +00:00
parent af4d768026
commit f4caa3d868
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
setlocal shiftwidth=4 setlocal shiftwidth=4
setlocal softtabstop=4 setlocal softtabstop=4
setlocal textwidth=79
let b:ale_linters = ['pylint', 'jedils'] let b:ale_linters = ['pylint', 'jedils']
let b:ale_fixers = ['black'] let b:ale_fixers = ['black']

1
vimrc
View file

@ -17,6 +17,7 @@ set list
set wrap set wrap
set linebreak set linebreak
set autoread set autoread
set colorcolumn=+1
au BufRead,BufNewFile *.ipynb setlocal filetype=json au BufRead,BufNewFile *.ipynb setlocal filetype=json
au BufRead,BufNewFile *.md setlocal spell au BufRead,BufNewFile *.md setlocal spell