Permalink
Browse files

Use a more concise regex

1 parent 6b31f6b commit 1c59d33c85e83adb343c59b884d4f19effbfa5d3 @wincent committed Jul 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/terminus.vim
View
@@ -28,7 +28,7 @@ let s:iterm=
let s:iterm2=
\ s:iterm &&
\ exists('$TERM_PROGRAM_VERSION') &&
- \ match($TERM_PROGRAM_VERSION, '\v^[23456789]\.') == 0
+ \ match($TERM_PROGRAM_VERSION, '\v^[2-9]\.') == 0
let s:screenish=&term =~# 'screen\|tmux'
let s:tmux=exists('$TMUX')
let s:xterm=&term =~# 'xterm'

0 comments on commit 1c59d33

Please sign in to comment.