commit 7c62254593f9017e55e2aa7da364c975bfece37e
parent 62a7488c2b13f168422a39b91840b15b4428fe9b
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Sun, 26 Mar 2023 21:39:30 +0530
Fix issue with when using on old ubuntu
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
@@ -11,7 +11,9 @@ endif
set nocompatible
set mouse=
set cursorline
-set cursorlineopt=number
+if has('cursorlineopt')
+ set cursorlineopt=number
+endif
set exrc
" Turn backup off
diff --git a/.local/share/vim/hyper-red.vim b/.local/share/vim/hyper-red.vim
@@ -37,7 +37,9 @@ else
hi! PreProc ctermfg=LightGray guifg=LightGray
hi! MatchParen guibg=NONE ctermbg=NONE gui=underline cterm=underline guifg=DarkMagenta ctermfg=DarkMagenta
endif
-set fillchars=vert:\│
+if has('fillchars')
+ set fillchars=vert:\│
+endif
hi! VertSplit term=NONE cterm=NONE gui=NONE
hi! SignColumn ctermbg=NONE guibg=NONE