commit 41c65341609270303ad1585c3770842caa613fe5
parent feeff3775e816a0bf033a54e4a9cc8885a489d36
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 7 Dec 2021 21:36:14 +0100
vim: indentline for python
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -164,6 +164,8 @@ for reponame in keys(installed_textobjs) | Plug reponame | endfor
Plug 'dense-analysis/ale'
+Plug 'Yggdroot/indentLine', { 'for': 'python' }
+
call plug#end()
" }}}2
" Config {{{2
@@ -470,7 +472,10 @@ function! SelectIAsterisks()
let start_pos = getpos('.')
return ['v', start_pos, end_pos]
endfunction
-
+" indentLine {{{3
+let g:indentLine_char_list = ['|', '¦', '┆', '┊']
+let g:indentLine_enable = 0 " off by default
+let g:indentLine_fileType = ['python'] " enable for python
" }}}1
" General {{{1
" Put viminfo in ~/.cache