diff options
author | Shubham Saini <pryr@pryr.xyz> | 2020-09-08 09:57:02 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2020-09-08 09:57:02 +0000 |
commit | 17db4c5e84c1aa47ffe28e46416f55686c1c5c92 (patch) | |
tree | 76a3156bf666acbf77654ddd95c9a262463bf56e /nvim | |
parent | bf84d2b91362b2917e4d4750eb6a7da8f338fe7f (diff) |
void
Diffstat (limited to 'nvim')
-rwxr-xr-x | nvim/.config/nvim/coc-settings.json | 13 | ||||
-rwxr-xr-x[-rw-r--r--] | nvim/.config/nvim/colors/jellybeans.vim | 0 | ||||
-rwxr-xr-x | nvim/.config/nvim/colors/pencil.vim | 388 | ||||
-rwxr-xr-x[-rw-r--r--] | nvim/.config/nvim/init.vim | 0 |
4 files changed, 401 insertions, 0 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json new file mode 100755 index 0000000..1b0825b --- /dev/null +++ b/nvim/.config/nvim/coc-settings.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "pairs.enableCharacters": ["(", "[", "{", "'", "\"", "`"], | ||
3 | "suggest.noselect": false, | ||
4 | "coc.preferences.formatOnSaveFiletypes": [ | ||
5 | "javascript", | ||
6 | "typescript", | ||
7 | "typescriptreact", | ||
8 | "json", | ||
9 | "javascriptreact", | ||
10 | "typescript.tsx", | ||
11 | "graphql" | ||
12 | ] | ||
13 | } | ||
diff --git a/nvim/.config/nvim/colors/jellybeans.vim b/nvim/.config/nvim/colors/jellybeans.vim index 73a0d98..73a0d98 100644..100755 --- a/nvim/.config/nvim/colors/jellybeans.vim +++ b/nvim/.config/nvim/colors/jellybeans.vim | |||
diff --git a/nvim/.config/nvim/colors/pencil.vim b/nvim/.config/nvim/colors/pencil.vim new file mode 100755 index 0000000..95dae88 --- /dev/null +++ b/nvim/.config/nvim/colors/pencil.vim | |||
@@ -0,0 +1,388 @@ | |||
1 | " Vim Color File | ||
2 | " Name: pencil.vim | ||
3 | " Version: 0.6 | ||
4 | " Maintainer: github.com/reedes github.com/mattly | ||
5 | " License: The MIT License (MIT) | ||
6 | |||
7 | " Original iA Writer colors, to use as a guide | ||
8 | " White #F1F1F1 | ||
9 | " OffWhiteIPad #F5F2EC | ||
10 | " OffWhiteDemo #F9F8F4 | ||
11 | " Cursor #20BBFC | ||
12 | " Selection #B6D6FD | ||
13 | " SelectionNOS #D4D4D4 | ||
14 | " StatusBar #EDEDED | ||
15 | " StatusBarBorder #D9D9D9 used for search too | ||
16 | " Text #424242 | ||
17 | " Blue #B5D6FD | ||
18 | " Green #30C798 | ||
19 | " Blue2 #1DAEE4 | ||
20 | " gray #999999 | ||
21 | " Red #E32791 | ||
22 | " UnfocusedText #B8B8B8 | ||
23 | " MenuSelected #2C81FB | ||
24 | " MenuUnSelected #545454 | ||
25 | " MenuText #F1F1F1 | ||
26 | " LightKeyBg #4B4B4B | ||
27 | " DarkKeyBg #262626 | ||
28 | " NearBlack #181818 | ||
29 | " SyntaxButton #363738 | ||
30 | " SearchHighlight #F3E430 yellow | ||
31 | |||
32 | hi clear | ||
33 | |||
34 | if exists('syntax on') | ||
35 | syntax reset | ||
36 | endif | ||
37 | |||
38 | let g:colors_name='pencil' | ||
39 | |||
40 | if ! exists("g:pencil_higher_contrast_ui") | ||
41 | let g:pencil_higher_contrast_ui = 0 | ||
42 | endif | ||
43 | |||
44 | if ! exists("g:pencil_neutral_code_bg") | ||
45 | let g:pencil_neutral_code_bg = 0 | ||
46 | endif | ||
47 | |||
48 | if ! exists("g:pencil_neutral_headings") | ||
49 | let g:pencil_neutral_headings = 0 | ||
50 | endif | ||
51 | |||
52 | " not all terminals support italics properly. If yours does, opt-in. | ||
53 | if ! exists("g:pencil_terminal_italics") | ||
54 | let g:pencil_terminal_italics = 0 | ||
55 | endif | ||
56 | |||
57 | if ! exists("g:pencil_spell_undercurl") | ||
58 | let g:pencil_spell_undercurl = 1 | ||
59 | endif | ||
60 | |||
61 | if ! exists("g:pencil_gutter_color") | ||
62 | let g:pencil_gutter_color = 0 | ||
63 | endif | ||
64 | |||
65 | " Colors | ||
66 | let s:black = { "gui": "#212121", "cterm": "0" } | ||
67 | let s:medium_gray = { "gui": "#767676", "cterm": "243" } | ||
68 | let s:white = { "gui": "#F1F1F1", "cterm": "15" } | ||
69 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } | ||
70 | let s:light_black = { "gui": "#424242", "cterm": "235" } | ||
71 | let s:lighter_black = { "gui": "#545454", "cterm": "240" } | ||
72 | |||
73 | if g:pencil_higher_contrast_ui == 0 | ||
74 | " darker shadow and whiter grays | ||
75 | let s:subtle_black = { "gui": "#262626", "cterm": "235" } | ||
76 | let s:light_gray = { "gui": "#D9D9D9", "cterm": "253" } | ||
77 | let s:lighter_gray = { "gui": "#E5E6E6", "cterm": "254" } | ||
78 | else | ||
79 | " lighter shadows and darker grays | ||
80 | let s:subtle_black = { "gui": "#303030", "cterm": "236" } | ||
81 | let s:light_gray = { "gui": "#B2B2B2", "cterm": "249" } | ||
82 | let s:lighter_gray = { "gui": "#C6C6C6", "cterm": "251" } | ||
83 | endif | ||
84 | |||
85 | let s:pink = { "gui": "#fb007a", "cterm": "9" } | ||
86 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } | ||
87 | let s:light_red = { "gui": "#E32791", "cterm": "1" } | ||
88 | let s:orange = { "gui": "#D75F5F", "cterm": "167" } | ||
89 | |||
90 | let s:darker_blue = { "gui": "#005F87", "cterm": "18" } | ||
91 | let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } | ||
92 | let s:blue = { "gui": "#20BBFC", "cterm": "12" } | ||
93 | let s:light_blue = { "gui": "#b6d6fd", "cterm": "153" } | ||
94 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } | ||
95 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "14" } | ||
96 | |||
97 | let s:dark_green = { "gui": "#10A778", "cterm": "2" } | ||
98 | let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } | ||
99 | |||
100 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } | ||
101 | let s:light_purple = { "gui": "#6855DE", "cterm": "13" } | ||
102 | |||
103 | let s:yellow = { "gui": "#F3E430", "cterm": "11" } | ||
104 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } | ||
105 | |||
106 | if &background == "dark" | ||
107 | let s:bg = s:black | ||
108 | let s:bg_subtle = s:light_black | ||
109 | let s:bg_very_subtle = s:subtle_black | ||
110 | let s:norm = s:lighter_gray | ||
111 | let s:norm_subtle = s:light_gray | ||
112 | let s:purple = s:light_purple | ||
113 | let s:cyan = s:light_cyan | ||
114 | let s:green = s:light_green | ||
115 | let s:red = s:light_red | ||
116 | let s:visual = s:lighter_black | ||
117 | else | ||
118 | let s:bg = s:white | ||
119 | let s:bg_subtle = s:light_gray | ||
120 | let s:bg_very_subtle = s:lighter_gray | ||
121 | let s:norm = s:light_black | ||
122 | let s:norm_subtle = s:lighter_black | ||
123 | let s:purple = s:dark_purple | ||
124 | let s:cyan = s:dark_cyan | ||
125 | let s:green = s:dark_green | ||
126 | let s:red = s:dark_red | ||
127 | let s:visual = s:light_blue | ||
128 | endif | ||
129 | |||
130 | if g:pencil_neutral_headings == 1 | ||
131 | let s:head_a = s:norm | ||
132 | let s:head_b = s:norm | ||
133 | let s:head_c = s:norm | ||
134 | else | ||
135 | let s:head_a = s:dark_blue | ||
136 | let s:head_b = s:blue | ||
137 | let s:head_c = s:dark_cyan | ||
138 | endif | ||
139 | |||
140 | if g:pencil_neutral_code_bg == 1 | ||
141 | let s:code_bg = s:bg | ||
142 | else | ||
143 | let s:code_bg = s:bg_very_subtle | ||
144 | endif | ||
145 | |||
146 | if g:pencil_spell_undercurl == 1 | ||
147 | let s:sp_un = 'undercurl' | ||
148 | else | ||
149 | let s:sp_un = 'underline' | ||
150 | endif | ||
151 | |||
152 | " shamelessly stolen from hemisu: https://github.com/noahfrederick/vim-hemisu/ | ||
153 | function! s:h(group, style) | ||
154 | " Not all terminals support italics properly. If yours does, opt-in. | ||
155 | if g:pencil_terminal_italics == 0 && has_key(a:style, "cterm") && a:style["cterm"] == "italic" | ||
156 | unlet a:style.cterm | ||
157 | endif | ||
158 | execute "highlight" a:group | ||
159 | \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE") | ||
160 | \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE") | ||
161 | \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE") | ||
162 | \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE") | ||
163 | \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE") | ||
164 | \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE") | ||
165 | \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") | ||
166 | endfunction | ||
167 | |||
168 | " common groups ================================================================ | ||
169 | " (see `:h w18`) | ||
170 | |||
171 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) | ||
172 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm }) | ||
173 | call s:h("Comment", {"fg": s:medium_gray, "gui": "italic", "cterm": "italic"}) | ||
174 | |||
175 | call s:h("Constant", {"fg": s:cyan}) | ||
176 | hi! link String Constant | ||
177 | hi! link Character Constant | ||
178 | hi! link Number Constant | ||
179 | hi! link Boolean Constant | ||
180 | hi! link Float Constant | ||
181 | |||
182 | call s:h("Identifier", {"fg": s:dark_blue}) | ||
183 | hi! link Function Identifier | ||
184 | |||
185 | call s:h("Statement", {"fg": s:green}) | ||
186 | hi! link Conditonal Statement | ||
187 | hi! link Repeat Statement | ||
188 | hi! link Label Statement | ||
189 | hi! link Operator Statement | ||
190 | hi! link Keyword Statement | ||
191 | hi! link Exception Statement | ||
192 | |||
193 | call s:h("PreProc", {"fg": s:red}) | ||
194 | hi! link Include PreProc | ||
195 | hi! link Define PreProc | ||
196 | hi! link Macro PreProc | ||
197 | hi! link PreCondit PreProc | ||
198 | |||
199 | call s:h("Type", {"fg": s:purple}) | ||
200 | hi! link StorageClass Type | ||
201 | hi! link Structure Type | ||
202 | hi! link Typedef Type | ||
203 | |||
204 | call s:h("Special", {"fg": s:pink}) | ||
205 | hi! link SpecialChar Special | ||
206 | hi! link Tag Special | ||
207 | hi! link Delimiter Special | ||
208 | hi! link SpecialComment Special | ||
209 | hi! link Debug Special | ||
210 | |||
211 | call s:h("Underlined", {"fg": s:norm , "gui": "underline", "cterm": "underline"}) | ||
212 | call s:h("Ignore", {"fg": s:bg }) | ||
213 | call s:h("Error", {"fg": s:actual_white, "bg": s:red , "gui": "bold" , "cterm": "bold" }) | ||
214 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold" , "cterm": "bold" }) | ||
215 | |||
216 | " ui chrome ==================================================================== | ||
217 | " ordered according to `:help hitest.vim` | ||
218 | |||
219 | call s:h("SpecialKey", {"fg": s:light_green}) | ||
220 | call s:h("NonText", {"fg": s:bg_subtle}) | ||
221 | call s:h("Directory", {"fg": s:dark_blue}) | ||
222 | call s:h("ErrorMsg", {"fg": s:pink}) | ||
223 | call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black}) | ||
224 | call s:h("Search", {"bg": s:bg_subtle}) | ||
225 | call s:h("MoreMsg", {"fg": s:medium_gray, "gui": "bold", "cterm": "bold"}) | ||
226 | hi! link ModeMsg MoreMsg | ||
227 | call s:h("LineNr", {"fg": s:bg_subtle}) | ||
228 | call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) | ||
229 | call s:h("Question", {"fg": s:red}) | ||
230 | call s:h("StatusLine", {"bg": s:bg_very_subtle}) | ||
231 | call s:h("Conceal", {"fg": s:norm}) | ||
232 | call s:h("StatusLineNC", {"bg": s:bg_very_subtle, "fg": s:medium_gray}) | ||
233 | call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) | ||
234 | call s:h("Title", {"fg": s:dark_blue}) | ||
235 | call s:h("Visual", {"bg": s:visual}) | ||
236 | call s:h("VisualNOS", {"bg": s:bg_subtle}) | ||
237 | call s:h("WarningMsg", {"fg": s:red}) | ||
238 | call s:h("WildMenu", {"fg": s:bg, "bg": s:norm}) | ||
239 | call s:h("Folded", {"fg": s:medium_gray}) | ||
240 | call s:h("FoldColumn", {"fg": s:bg_subtle}) | ||
241 | call s:h("DiffAdd", {"bg": s:bg_subtle, "fg": s:green}) | ||
242 | call s:h("DiffDelete", {"bg": s:bg_subtle, "fg": s:red}) | ||
243 | call s:h("DiffChange", {"bg": s:bg_subtle, "fg": s:dark_yellow}) | ||
244 | call s:h("DiffText", {"bg": s:bg_subtle, "fg": s:dark_blue}) | ||
245 | call s:h("SignColumn", {"fg": s:light_green}) | ||
246 | |||
247 | if has("gui_running") | ||
248 | call s:h("SpellBad", {"gui": s:sp_un, "sp": s:red}) | ||
249 | call s:h("SpellCap", {"gui": s:sp_un, "sp": s:light_green}) | ||
250 | call s:h("SpellRare", {"gui": s:sp_un, "sp": s:pink}) | ||
251 | call s:h("SpellLocal", {"gui": s:sp_un, "sp": s:dark_green}) | ||
252 | else | ||
253 | call s:h("SpellBad", {"cterm": s:sp_un, "fg": s:red}) | ||
254 | call s:h("SpellCap", {"cterm": s:sp_un, "fg": s:light_green}) | ||
255 | call s:h("SpellRare", {"cterm": s:sp_un, "fg": s:pink}) | ||
256 | call s:h("SpellLocal", {"cterm": s:sp_un, "fg": s:dark_green}) | ||
257 | endif | ||
258 | call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_subtle}) | ||
259 | call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) | ||
260 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) | ||
261 | call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) | ||
262 | call s:h("TabLine", {"fg": s:norm, "bg": s:bg_very_subtle}) | ||
263 | call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) | ||
264 | call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) | ||
265 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) | ||
266 | call s:h("CursorLine", {"bg": s:bg_very_subtle}) | ||
267 | call s:h("ColorColumn", {"bg": s:bg_subtle}) | ||
268 | |||
269 | " remainder of syntax highlighting | ||
270 | call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm}) | ||
271 | call s:h("qfLineNr", {"fg": s:medium_gray}) | ||
272 | |||
273 | " hi helpHyperTextJump guifg=#5FAFD7 ctermfg=74 | ||
274 | |||
275 | " HTML syntax | ||
276 | hi! link htmlTag Special | ||
277 | hi! link htmlEndTag htmlTag | ||
278 | |||
279 | hi! link htmlTagName KeyWord | ||
280 | " html5 tags show up as htmlTagN | ||
281 | hi! link htmlTagN Keyword | ||
282 | |||
283 | " HTML content | ||
284 | call s:h("htmlH1", {"fg": s:head_a, "gui": "bold,italic", "cterm": "bold" }) | ||
285 | call s:h("htmlH2", {"fg": s:head_a, "gui": "bold" , "cterm": "bold" }) | ||
286 | call s:h("htmlH3", {"fg": s:head_b, "gui": "italic" , "cterm": "italic" }) | ||
287 | call s:h("htmlH4", {"fg": s:head_b, "gui": "italic" , "cterm": "italic" }) | ||
288 | call s:h("htmlH5", {"fg": s:head_c }) | ||
289 | call s:h("htmlH6", {"fg": s:head_c }) | ||
290 | call s:h("htmlLink", {"fg": s:blue , "gui": "underline" , "cterm": "underline"}) | ||
291 | call s:h("htmlItalic", { "gui": "italic" , "cterm": "italic" }) | ||
292 | call s:h("htmlBold", { "gui": "bold" , "cterm": "bold" }) | ||
293 | call s:h("htmlBoldItalic",{ "gui": "bold,italic", "cterm": "bold" }) | ||
294 | " hi htmlString guifg=#87875f guibg=NONE gui=NONE ctermfg=101 ctermbg=NONE cterm=NONE | ||
295 | |||
296 | " tpope/vim-markdown | ||
297 | call s:h("markdownBlockquote", {"fg": s:norm}) | ||
298 | call s:h("markdownBold", {"fg": s:norm , "gui": "bold" , "cterm": "bold" }) | ||
299 | call s:h("markdownBoldItalic", {"fg": s:norm , "gui": "bold,italic", "cterm": "bold" }) | ||
300 | call s:h("markdownEscape", {"fg": s:norm}) | ||
301 | call s:h("markdownH1", {"fg": s:head_a, "gui": "bold,italic", "cterm": "bold" }) | ||
302 | call s:h("markdownH2", {"fg": s:head_a, "gui": "bold" , "cterm": "bold" }) | ||
303 | call s:h("markdownH3", {"fg": s:head_a, "gui": "italic" , "cterm": "italic"}) | ||
304 | call s:h("markdownH4", {"fg": s:head_a, "gui": "italic" , "cterm": "italic"}) | ||
305 | call s:h("markdownH5", {"fg": s:head_a}) | ||
306 | call s:h("markdownH6", {"fg": s:head_a}) | ||
307 | call s:h("markdownHeadingDelimiter", {"fg": s:norm}) | ||
308 | call s:h("markdownHeadingRule", {"fg": s:norm}) | ||
309 | call s:h("markdownId", {"fg": s:medium_gray}) | ||
310 | call s:h("markdownIdDeclaration", {"fg": s:norm_subtle}) | ||
311 | call s:h("markdownItalic", {"fg": s:norm , "gui": "italic" , "cterm": "italic"}) | ||
312 | call s:h("markdownLinkDelimiter", {"fg": s:medium_gray}) | ||
313 | call s:h("markdownLinkText", {"fg": s:norm}) | ||
314 | call s:h("markdownLinkTextDelimiter", {"fg": s:medium_gray}) | ||
315 | call s:h("markdownListMarker", {"fg": s:norm}) | ||
316 | call s:h("markdownOrderedListMarker", {"fg": s:norm}) | ||
317 | call s:h("markdownRule", {"fg": s:norm}) | ||
318 | call s:h("markdownUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"}) | ||
319 | call s:h("markdownUrlDelimiter", {"fg": s:medium_gray}) | ||
320 | call s:h("markdownUrlTitle", {"fg": s:norm}) | ||
321 | call s:h("markdownUrlTitleDelimiter", {"fg": s:medium_gray}) | ||
322 | call s:h("markdownCode", {"fg": s:norm, "bg": s:code_bg}) | ||
323 | call s:h("markdownCodeDelimiter", {"fg": s:norm, "bg": s:code_bg}) | ||
324 | |||
325 | " plasticboy/vim-markdown | ||
326 | call s:h("mkdBlockQuote", {"fg": s:norm}) | ||
327 | call s:h("mkdDelimiter", {"fg": s:medium_gray}) | ||
328 | call s:h("mkdID", {"fg": s:medium_gray}) | ||
329 | call s:h("mkdLineContinue", {"fg": s:norm}) | ||
330 | call s:h("mkdLink", {"fg": s:norm}) | ||
331 | call s:h("mkdLinkDef", {"fg": s:medium_gray}) | ||
332 | call s:h("mkdListItem", {"fg": s:norm}) | ||
333 | call s:h("mkdNonListItemBlock", {"fg": s:norm}) " bug in syntax? | ||
334 | call s:h("mkdRule", {"fg": s:norm}) | ||
335 | call s:h("mkdUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"}) | ||
336 | call s:h("mkdCode", {"fg": s:norm, "bg": s:code_bg}) | ||
337 | call s:h("mkdIndentCode", {"fg": s:norm, "bg": s:code_bg}) | ||
338 | |||
339 | " gabrielelana/vim-markdown | ||
340 | call s:h("markdownBlockquoteDelimiter", {"fg": s:norm}) | ||
341 | call s:h("markdownInlineDelimiter", {"fg": s:norm}) | ||
342 | call s:h("markdownItemDelimiter", {"fg": s:norm}) | ||
343 | call s:h("markdownLinkReference", {"fg": s:medium_gray}) | ||
344 | call s:h("markdownLinkText", {"fg": s:norm}) | ||
345 | call s:h("markdownLinkTextContainer", {"fg": s:medium_gray}) | ||
346 | call s:h("markdownLinkUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"}) | ||
347 | call s:h("markdownLinkUrlContainer", {"fg": s:medium_gray}) | ||
348 | call s:h("markdownFencedCodeBlock", {"fg": s:norm, "bg": s:code_bg}) | ||
349 | call s:h("markdownInlineCode", {"fg": s:norm, "bg": s:code_bg}) | ||
350 | |||
351 | " mattly/vim-markdown-enhancements | ||
352 | call s:h("mmdFootnoteDelimiter", {"fg": s:medium_gray}) | ||
353 | call s:h("mmdFootnoteMarker", {"fg": s:norm}) | ||
354 | call s:h("mmdTableAlign", {"fg": s:norm}) | ||
355 | call s:h("mmdTableDelimiter", {"fg": s:norm}) | ||
356 | call s:h("mmdTableHeadDelimiter", {"fg": s:norm}) | ||
357 | call s:h("mmdTableHeader", {"fg": s:norm}) | ||
358 | call s:h("mmdTableCaptionDelimiter", {"fg": s:norm}) | ||
359 | call s:h("mmdTableCaption", {"fg": s:norm}) | ||
360 | |||
361 | " Textile content | ||
362 | " https://github.com/timcharper/textile.vim/blob/master/syntax/textile.vim | ||
363 | "call s:h("txtBold", {"fg": s:norm , "gui": "bold" , "cterm": "bold" }) | ||
364 | "call s:h("txtEmphasis", {"fg": s:norm , "gui": "italic" , "cterm": "italic"}) | ||
365 | |||
366 | " XML content | ||
367 | hi! link xmlTag htmlTag | ||
368 | hi! link xmlEndTag xmlTag | ||
369 | hi! link xmlTagName htmlTagName | ||
370 | |||
371 | " Signify, git-gutter | ||
372 | if g:pencil_gutter_color == 1 | ||
373 | hi link SignifySignAdd DiffAdd | ||
374 | hi link SignifySignDelete DiffDelete | ||
375 | hi link SignifySignChange DiffChange | ||
376 | hi link GitGutterAdd DiffAdd | ||
377 | hi link GitGutterDelete DiffDelete | ||
378 | hi link GitGutterChange DiffChange | ||
379 | hi link GitGutterChangeDelete DiffChange | ||
380 | else | ||
381 | hi link SignifySignAdd LineNr | ||
382 | hi link SignifySignDelete LineNr | ||
383 | hi link SignifySignChange LineNr | ||
384 | hi link GitGutterAdd LineNr | ||
385 | hi link GitGutterDelete LineNr | ||
386 | hi link GitGutterChange LineNr | ||
387 | hi link GitGutterChangeDelete LineNr | ||
388 | endif | ||
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 1184e2d..1184e2d 100644..100755 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||