Problem: 'ruler' is set in defaults.vim

Problem:  'ruler' is set in defaults.vim, but not enabled by default in
          non-compatible mode.
Solution: set the ruler option in non-compatible mode, remove it from
          defaults.vim, update tests

closes: #18260

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-09-15 18:40:57 +00:00
parent d4c2cb4b27
commit ba36510920
26 changed files with 397 additions and 18 deletions

View File

@ -1,7 +1,7 @@
" The default vimrc file.
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2025 Jul 13
" Last Change: 2025 Sep 10
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
"
" This is loaded if no vimrc file was found.
@ -33,8 +33,6 @@ silent! while 0
set nocompatible
silent! endwhile
set ruler " show the cursor position all the time
set ttimeout " time out for key codes
set ttimeoutlen=100 " wait up to 100ms after Esc for special key