Skip to content

Commit a04d82c

Browse files
author
Denis Kasak
committed
Set commentstring in pymode_options.
This setting is used in vanilla vim for adding fold markers, but also by vim-commentary for using the appropriate comment marker for specific filetypes.
1 parent b20f3ce commit a04d82c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ftplugin/python/pymode.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if pymode#Option('options')
2626
endif
2727
setlocal nowrap
2828
setlocal textwidth=79
29+
setlocal commentstring=#%s
2930
endif
3031

3132
" }}}

0 commit comments

Comments
 (0)