Add colorcolumn
to highlight lines too long, set textwidth
for
python files
This commit is contained in:
parent
af4d768026
commit
f4caa3d868
|
@ -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
1
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue