Skip to content

Commit dabb7dc

Browse files
committed
options: add modelineexpr; mod diffopt
1 parent 57adb00 commit dabb7dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vim/config/vim_options.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ set splitright " set split default on the right
4141
"set equalalways " all new windows equal size
4242
"set verbose=1 " all cmds default to verbose output
4343
set modeline " Enable check for modeline
44+
set modelineexpr " allow expressions in modeline
4445
"set modelines=5 " set number of lines checked for modeline (default 5)
4546

4647
"--- formatoptions! {{{
@@ -78,7 +79,7 @@ set visualbell " any bell transmogrifies to a blink
7879
set laststatus=2 " always show status line
7980

8081
"--- DiffOptions {{{
81-
set diffopt=internal,vertical,context:3,filler
82+
set diffopt=vertical,context:2,filler
8283
"}}}
8384

8485
"--- Invisible characters " If you ':set list', shows trailing spaces, etc {{{

0 commit comments

Comments
 (0)