mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
Drop syntax reset on modern vim version
According to https://vimhelp.org/syntax.txt.html and https://github.com/vim/colorschemes/issues/34 there is no need to call `syntax reset` after `hi clear`. Not doing so prevents sourcing syncolor.vim twice.
This commit is contained in:
parent
291e05d96f
commit
85b3da4b60
|
|
@ -5,16 +5,16 @@
|
|||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
|
||||
if version > 580
|
||||
set background=dark
|
||||
if v:version > 580
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
if exists("syntax_on") && (v:version < 800)
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:colors_name = "nord"
|
||||
let s:nord_vim_version="0.18.0"
|
||||
set background=dark
|
||||
|
||||
let s:nord0_gui = "#2E3440"
|
||||
let s:nord1_gui = "#3B4252"
|
||||
|
|
|
|||
Loading…
Reference in a new issue