aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:34:02 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:34:02 +1300
commitfb4aec5034cf398285082c8173b45f9267337d6c (patch)
treedced7bf8f3b285330aa961e8b236d92d056e93c4 /vim
parentRename startup.vim to messages.vim (diff)
downloaddotfiles-fb4aec5034cf398285082c8173b45f9267337d6c.tar.gz
dotfiles-fb4aec5034cf398285082c8173b45f9267337d6c.zip
Move nrformats.vim content to format.vim
Diffstat (limited to 'vim')
-rw-r--r--vim/config/format.vim4
-rw-r--r--vim/config/nrformats.vim3
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