stop adding comment leader when press o or O

This commit is contained in:
Nachuan Tang
2023-03-02 16:15:29 -05:00
parent 6c53b5cf17
commit 45350b57a7
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -145,6 +145,9 @@
" set nolist " let vim not showing '$' or other sign
set list " Display unprintable characters f12 - switches
" stop inserting the current comment leader after hitting 'o' or 'O' in Normal mode
au FileType java setlocal formatoptions-=o
set listchars=tab:•\ ,trail:•,extends:»,precedes:« " Unprintable chars mapping
"Remove all trailing whitespace by pressing <leader>ws