fix(vim): remove not-needed if condition

This commit is contained in:
2025-09-07 02:14:00 +02:00
parent 1cb7a114be
commit 5749f50df7
+2 -4
View File
@@ -219,8 +219,7 @@ let g:onedark_color_overrides = {
\ "cursor_grey": { "gui": "#282c34", "cterm": "236", "cterm16": "0" }, \ "cursor_grey": { "gui": "#282c34", "cterm": "236", "cterm16": "0" },
\} \}
if (has("autocmd")) augroup colorextend
augroup colorextend
autocmd! autocmd!
autocmd ColorScheme * call onedark#extend_highlight("Terminal", autocmd ColorScheme * call onedark#extend_highlight("Terminal",
\ { "bg": { "gui": "#1f2329" } } \ { "bg": { "gui": "#1f2329" } }
@@ -249,8 +248,7 @@ if (has("autocmd"))
autocmd ColorScheme * call onedark#set_highlight("DiffDelete", autocmd ColorScheme * call onedark#set_highlight("DiffDelete",
\ { "bg": { "gui": "#3d2224", "cterm": "NONE" } } \ { "bg": { "gui": "#3d2224", "cterm": "NONE" } }
\) \)
augroup END augroup END
endif
" {{{3 Undotree " {{{3 Undotree
let g:undotree_WindowLayout = 2 let g:undotree_WindowLayout = 2