diff options
-rw-r--r-- | vim/config/format.vim | 4 | ||||
-rw-r--r-- | vim/config/nrformats.vim | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/vim/config/format.vim b/vim/config/format.vim index e1da2d0b..6c71b5ee 100644 --- a/vim/config/format.vim +++ b/vim/config/format.vim @@ -1,3 +1,7 @@ +" Don't assume a number with a leading zero is octal; it's far more likely a +" zero-padded decimal, so increment and decrement with ^A and ^X on that basis +set nrformats-=octal + " Try to set the 'j' flag for 'formatoptions', to automatically delete comment " leaders when joining lines silent! set formatoptions+=j diff --git a/vim/config/nrformats.vim b/vim/config/nrformats.vim deleted file mode 100644 index 09fe8c73..00000000 --- a/vim/config/nrformats.vim +++ /dev/null @@ -1,3 +0,0 @@ -" Don't assume a number with a leading zero is octal; it's far more likely a -" zero-padded decimal, so increment and decrement with ^A and ^X on that basis -set nrformats-=octal |