1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00

Fix annoying 2 spaces after comment sign

This commit is contained in:
2016-05-17 13:25:05 +02:00
parent b946683aef
commit 000e33c40d

View File

@@ -33,6 +33,11 @@ let g:pyflakes_use_quickfix = 0
autocmd BufWinLeave *.py mkview autocmd BufWinLeave *.py mkview
autocmd BufWinEnter *.py silent loadview autocmd BufWinEnter *.py silent loadview
"Something bad happens for python comments - it places 2 spaces instead of 1
"after the # sign. Workaround:
let g:NERDCustomDelimiters = {'python': {'left': '#'}}
let g:NERDSpaceDelims = 0
finish "end here. all below is just for the record. finish "end here. all below is just for the record.
" Pylint function, which can be optionally mapped to some keys. Currently " Pylint function, which can be optionally mapped to some keys. Currently