Skip to content

Commit

Permalink
fix NERDComment python comment double space problem
Browse files Browse the repository at this point in the history
  • Loading branch information
laixintao committed Jan 8, 2019
1 parent ccf06b1 commit 2d41b65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ let g:gist_open_browser_after_post = 1
" NerdComment
let g:NERDSpaceDelims = 1
let g:NERDDefaultAlign = 'left'
" vim 8 / neovim HEAD runtime: when ft==python, cms:=#\ %s
" " -- when g:NERDSpaceDelims==1, then NERDComment results in double space
let g:NERDCustomDelimiters = {
\ 'python': { 'left': '#', 'right': '' }
\ }

" CtrlSF
nnoremap <leader>f :CtrlSF
Expand Down

0 comments on commit 2d41b65

Please sign in to comment.