Use build-in style for nvim 0.10
dblume

dblume commited on 2024-03-29 23:52:48
Showing 2 changed files, with 17 additions and 117 deletions.


Since nvim 0.10 will change the way old styles work, use the
baked in desert theme.

Also add eol to listchars
... ...
@@ -1,119 +1,19 @@
1
-" Vim color file
2
-" Maintainer:	Hans Fugal <hans@fugal.net>
3
-" Last Change:	$Date: 2004/06/13 19:30:30 $
4
-" Last Change:	$Date: 2004/06/13 19:30:30 $
5
-" URL:		http://hans.fugal.net/vim/colors/desert.vim
6
-" Version:	$Id: desert.vim,v 1.1 2004/06/13 19:30:30 vimboss Exp $
7
-
8
-" cool help screens
9
-" :he group-name
10
-" :he highlight-groups
11
-" :he cterm-colors
12
-
13
-set background=dark
14
-if version > 580
15
-    " no guarantees for version 5.8 and below, but this makes it stop
16
-    " complaining
17
-    hi clear
18
-    if exists("syntax_on")
19
-	syntax reset
20
-    endif
21
-endif
22
-let g:colors_name="nvim_desert"
23
-
24
-hi Normal	guifg=White guibg=grey20
25
-
26
-" highlight groups
27
-hi Cursor	guibg=khaki guifg=slategrey
28
-hi CursorLine	cterm=None guifg=Normal guibg=Normal
29
-hi CursorLineNr	cterm=None ctermfg=11 gui=bold guifg=Yellow
30
-"hi CursorIM
31
-"hi Directory
32
-"hi DiffAdd
33
-"hi DiffChange
34
-"hi DiffDelete
35
-"hi DiffText
36
-"hi ErrorMsg
37
-hi VertSplit	guibg=#c2bfa5 guifg=grey50 gui=none
38
-hi Folded	guibg=grey30 guifg=gold
39
-hi FoldColumn	guibg=grey30 guifg=tan
40
-hi IncSearch	guifg=slategrey guibg=khaki
41
-"hi LineNr
42
-hi ModeMsg	guifg=goldenrod
43
-hi MoreMsg	guifg=SeaGreen
44
-hi NonText	guifg=LightBlue guibg=grey30
45
-hi Question	guifg=springgreen
46
-hi Search	guibg=peru guifg=wheat
47
-hi SpecialKey	guifg=yellowgreen
48
-hi StatusLine	guibg=#c2bfa5 guifg=black gui=none
49
-hi StatusLineNC	guibg=#c2bfa5 guifg=grey50 gui=none
50
-hi Title	guifg=indianred
51
-hi Visual	gui=none guifg=khaki guibg=olivedrab
52
-"hi VisualNOS
53
-hi WarningMsg	guifg=salmon
54
-"hi WildMenu
55
-"hi Menu
56
-"hi Scrollbar
57
-"hi Tooltip
58
-
59
-" syntax highlighting groups
60
-hi Comment	guifg=SkyBlue
61
-hi Constant	guifg=#ffa0a0
62
-hi Identifier	guifg=palegreen
63
-hi Statement	guifg=khaki
64
-hi PreProc	guifg=indianred
65
-hi Type		guifg=darkkhaki
66
-hi Special	guifg=navajowhite
67
-"hi Underlined
68
-hi Ignore	guifg=grey40
69
-"hi Error
70
-hi Todo		guifg=orangered guibg=yellow2
71
-
72
-" color terminal definitions
73
-hi SpecialKey	ctermfg=darkgreen
74
-hi NonText	cterm=bold ctermfg=darkblue
75
-hi Directory	ctermfg=darkcyan
76
-hi ErrorMsg	cterm=bold ctermfg=7 ctermbg=1
77
-hi IncSearch	cterm=NONE ctermfg=yellow ctermbg=green
78
-hi Search	cterm=NONE ctermfg=grey ctermbg=25
79
-hi MoreMsg	ctermfg=darkgreen
80
-hi ModeMsg	cterm=NONE ctermfg=brown
81
-hi LineNr	ctermfg=3
82
-hi Question	ctermfg=green
83
-hi StatusLine	cterm=bold,reverse
84
-hi StatusLineNC cterm=reverse
85
-hi VertSplit	cterm=reverse
86
-hi Title	ctermfg=74
87
-hi Visual	cterm=reverse
88
-hi VisualNOS	cterm=bold,underline
89
-hi WarningMsg	ctermfg=1
90
-hi WildMenu	ctermfg=0 ctermbg=3
91
-hi Folded	ctermfg=darkgrey ctermbg=NONE
92
-hi FoldColumn	ctermfg=darkgrey ctermbg=NONE
93
-hi DiffAdd      term=reverse ctermbg=28 ctermfg=254
94
-hi DiffChange   term=reverse ctermbg=239 ctermfg=251
95
-hi DiffText     term=reverse ctermbg=30 ctermfg=254
96
-hi DiffDelete   term=reverse ctermbg=52 ctermfg=black
97
-hi Comment	ctermfg=darkcyan
98
-hi Constant	ctermfg=brown
99
-hi Special	ctermfg=74
100
-hi Identifier	ctermfg=6
101
-hi Statement	ctermfg=3
102
-hi PreProc	ctermfg=74
103
-hi Type		ctermfg=2
104
-hi Underlined	cterm=underline ctermfg=74
105
-hi Ignore	cterm=bold ctermfg=7
106
-hi Ignore	ctermfg=darkgrey
107
-hi Error	cterm=bold ctermfg=7 ctermbg=1
108
-hi Pmenu	ctermbg=33 ctermfg=235
109
-hi PmenuSel	ctermbg=14 ctermfg=0
110
-hi TabLineSel	ctermfg=white ctermbg=239
111
-hi TabLine	ctermfg=247 ctermbg=237
112
-hi TabLineFill	ctermfg=235
113
-
114
-hi ColorColumn  cterm=NONE ctermbg=233 guibg=Black " dark gray (or 17, dark blue)
115
-hi statusline   ctermfg=23 ctermbg=250  " override scheme
116
-hi statuslineNC ctermfg=237 ctermbg=Gray  " override scheme
1
+" Some override of the neovim desert theme from the old vim one.
2
+runtime colors/desert.vim
3
+
4
+hi Normal       ctermbg=233 ctermfg=254
5
+hi EndOfBuffer  ctermbg=235
6
+
7
+hi Constant     ctermfg=130
8
+hi DiffDelete   ctermfg=231 ctermbg=52 guifg=#ffffff guibg=#af5faf
9
+hi LineNr       ctermfg=3 guifg=#eeee00
10
+hi TabLineSel   ctermbg=white ctermfg=239
11
+hi TabLine      ctermbg=247 ctermfg=237
12
+hi TabLineFill  ctermbg=235
13
+
14
+hi ColorColumn  cterm=NONE ctermbg=234 guibg=Black " dark gray (or 17, dark blue)
15
+hi statusline   cterm=bold,reverse ctermfg=23 ctermbg=250  " override scheme
16
+hi statuslineNC cterm=reverse ctermfg=238 ctermbg=Gray  " override scheme
117 17
 hi MatchParen   term=reverse ctermbg=23  " 23 is more subtle than default
118 18
 
119 19
 "vim: sw=4
... ...
@@ -4,7 +4,7 @@ set smartindent     " Do smart auto indenting when starting  new line
4 4
 set foldlevel=99
5 5
 set nowrap          " no wrapping text lines on the screen (exceptions below)
6 6
 set sidescroll=5
7
-set listchars+=tab:>-,precedes:<,extends:>,nbsp:· " for :set list
7
+set listchars+=tab:>-,precedes:<,extends:>,nbsp:·,eol:\\u21b5 " for :set list
8 8
 set iskeyword+=-    " Add - to list of non-word-breaking chars.
9 9
 set scrolloff=0     " EC2 defaults to 5. Set explicitly to be consistent
10 10
 set notermguicolors " Only needed for neovim while I port my color schemes
11 11