diff options
author | Shubham Saini <me@ubh.sh> | 2024-05-02 04:25:04 +0000 |
---|---|---|
committer | Shubham Saini <me@ubh.sh> | 2024-05-02 04:25:04 +0000 |
commit | c5ac18596421d59990bda19d84c940b4daee7e46 (patch) | |
tree | a77a4035b10c5f4571385737310a835f646d264b /nvim | |
parent | 7807371b580b0d7ffb063daf8620c4606bcdb787 (diff) |
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/after/plugin/lsp.lua | 21 | ||||
-rw-r--r-- | nvim/.config/nvim/after/plugin/treesitter.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/colors/jellybeans.vim | 733 | ||||
-rw-r--r-- | nvim/.config/nvim/colors/monochrome.vim | 254 | ||||
-rw-r--r-- | nvim/.config/nvim/colors/nerdy.vim | 313 | ||||
-rw-r--r-- | nvim/.config/nvim/colors/noirblaze.vim | 243 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/plugins.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/set.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/statusline/line.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/plugin/packer_compiled.lua | 47 |
10 files changed, 1591 insertions, 28 deletions
diff --git a/nvim/.config/nvim/after/plugin/lsp.lua b/nvim/.config/nvim/after/plugin/lsp.lua index 1d64ec5..2cb94c0 100644 --- a/nvim/.config/nvim/after/plugin/lsp.lua +++ b/nvim/.config/nvim/after/plugin/lsp.lua | |||
@@ -1,5 +1,15 @@ | |||
1 | local lsp = require("lsp-zero") | 1 | local lsp = require("lsp-zero") |
2 | 2 | ||
3 | require('mason').setup({}) | ||
4 | require('mason-lspconfig').setup({ | ||
5 | ensure_installed = {'tsserver', 'rust_analyzer'}, | ||
6 | handlers = { | ||
7 | function(server_name) | ||
8 | require('lspconfig')[server_name].setup({}) | ||
9 | end, | ||
10 | } | ||
11 | }) | ||
12 | |||
3 | lsp.preset("recommended") | 13 | lsp.preset("recommended") |
4 | 14 | ||
5 | -- Fix Undefined global 'vim' | 15 | -- Fix Undefined global 'vim' |
@@ -14,7 +24,6 @@ lsp.configure('lua_ls', { | |||
14 | }) | 24 | }) |
15 | 25 | ||
16 | local cmp = require('cmp') | 26 | local cmp = require('cmp') |
17 | local cmp_action = require('lsp-zero').cmp_action() | ||
18 | 27 | ||
19 | cmp.setup({ | 28 | cmp.setup({ |
20 | window = { | 29 | window = { |
@@ -25,13 +34,20 @@ cmp.setup({ | |||
25 | ['<C-Space>'] = cmp.mapping.complete(), | 34 | ['<C-Space>'] = cmp.mapping.complete(), |
26 | ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select), | 35 | ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select), |
27 | ['<C-n>'] = cmp.mapping.select_next_item(cmp_select), | 36 | ['<C-n>'] = cmp.mapping.select_next_item(cmp_select), |
28 | ['<C-y>'] = cmp.mapping.confirm({ select = true }), | 37 | ['<CR>'] = cmp.mapping.confirm({ select = true }), |
29 | }), | 38 | }), |
30 | snippet = { | 39 | snippet = { |
31 | expand = function(args) | 40 | expand = function(args) |
32 | require('luasnip').lsp_expand(args.body) | 41 | require('luasnip').lsp_expand(args.body) |
33 | end, | 42 | end, |
34 | }, | 43 | }, |
44 | sources = { | ||
45 | { name = 'nvim_lsp' }, | ||
46 | { name = 'nvim_lua' }, | ||
47 | { name = 'buffer' }, | ||
48 | { name = 'path' }, | ||
49 | { name = 'luasnip', option = { show_autosnippets = true } }, | ||
50 | }, | ||
35 | }) | 51 | }) |
36 | 52 | ||
37 | lsp.set_preferences({ | 53 | lsp.set_preferences({ |
@@ -64,4 +80,3 @@ lsp.setup() | |||
64 | vim.diagnostic.config({ | 80 | vim.diagnostic.config({ |
65 | virtual_text = true, | 81 | virtual_text = true, |
66 | }) | 82 | }) |
67 | |||
diff --git a/nvim/.config/nvim/after/plugin/treesitter.lua b/nvim/.config/nvim/after/plugin/treesitter.lua index 9d5d923..b891aff 100644 --- a/nvim/.config/nvim/after/plugin/treesitter.lua +++ b/nvim/.config/nvim/after/plugin/treesitter.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | require'nvim-treesitter.configs'.setup { | 1 | require'nvim-treesitter.configs'.setup { |
2 | -- A list of parser names, or "all" | 2 | -- A list of parser names, or "all" |
3 | ensure_installed = { "help", "javascript", "typescript", "c", "lua", "rust" }, | 3 | ensure_installed = { "javascript", "typescript", "c", "lua", "rust" }, |
4 | 4 | ||
5 | -- Install parsers synchronously (only applied to `ensure_installed`) | 5 | -- Install parsers synchronously (only applied to `ensure_installed`) |
6 | sync_install = false, | 6 | sync_install = false, |
diff --git a/nvim/.config/nvim/colors/jellybeans.vim b/nvim/.config/nvim/colors/jellybeans.vim new file mode 100644 index 0000000..3b9bfb6 --- /dev/null +++ b/nvim/.config/nvim/colors/jellybeans.vim | |||
@@ -0,0 +1,733 @@ | |||
1 | " Vim color file | ||
2 | " | ||
3 | " " __ _ _ _ " | ||
4 | " " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " | ||
5 | " " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " | ||
6 | " " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " | ||
7 | " " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " | ||
8 | " " \___/ " | ||
9 | " | ||
10 | " "A colorful, dark color scheme for Vim." | ||
11 | " | ||
12 | " File: jellybeans.vim | ||
13 | " URL: github.com/nanotech/jellybeans.vim | ||
14 | " Scripts URL: vim.org/scripts/script.php?script_id=2555 | ||
15 | " Maintainer: NanoTech (nanotech.nanotechcorp.net) | ||
16 | " Version: 1.7 | ||
17 | " Last Change: June 21st, 2019 | ||
18 | " License: MIT | ||
19 | " Contributors: Andrew Wong (w0ng) | ||
20 | " Benjamin R. Haskell (benizi) | ||
21 | " Brian Marshall (bmars) | ||
22 | " Daniel Herbert (pocketninja) | ||
23 | " David Liang <bmdavll at gmail dot com> | ||
24 | " Filipe Silva (ninrod) | ||
25 | " Henry So, Jr. <henryso@panix.com> | ||
26 | " Ihor Kalnytskyi (ikalnytskyi) | ||
27 | " Joe Doherty (docapotamus) | ||
28 | " Karl Litterfeldt (Litterfeldt) | ||
29 | " Keith Pitt (keithpitt) | ||
30 | " Mike Schreifels (schreifels) | ||
31 | " Philipp Rustemeier (12foo) | ||
32 | " Rafael Bicalho (rbika) | ||
33 | " Rich Healey (richo) | ||
34 | " Siwen Yu (yusiwen) | ||
35 | " Tim Willis (willist) | ||
36 | " Tom McLaughlin (tmcoma) | ||
37 | " | ||
38 | " Copyright (c) 2009-2019 NanoTech | ||
39 | " | ||
40 | " Permission is hereby granted, free of charge, to any per‐ | ||
41 | " son obtaining a copy of this software and associated doc‐ | ||
42 | " umentation files (the “Software”), to deal in the Soft‐ | ||
43 | " ware without restriction, including without limitation | ||
44 | " the rights to use, copy, modify, merge, publish, distrib‐ | ||
45 | " ute, sublicense, and/or sell copies of the Software, and | ||
46 | " to permit persons to whom the Software is furnished to do | ||
47 | " so, subject to the following conditions: | ||
48 | " | ||
49 | " The above copyright notice and this permission notice | ||
50 | " shall be included in all copies or substantial portions | ||
51 | " of the Software. | ||
52 | " | ||
53 | " THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY | ||
54 | " KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO | ||
55 | " THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU‐ | ||
56 | " LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
57 | " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
58 | " DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON‐ | ||
59 | " TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON‐ | ||
60 | " NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
61 | " THE SOFTWARE. | ||
62 | |||
63 | set background=dark | ||
64 | |||
65 | hi clear | ||
66 | |||
67 | if exists("syntax_on") | ||
68 | syntax reset | ||
69 | endif | ||
70 | |||
71 | let colors_name = "jellybeans" | ||
72 | |||
73 | if has("gui_running") || (has('termguicolors') && &termguicolors) | ||
74 | let s:true_color = 1 | ||
75 | else | ||
76 | let s:true_color = 0 | ||
77 | endif | ||
78 | |||
79 | if s:true_color || &t_Co >= 88 | ||
80 | let s:low_color = 0 | ||
81 | else | ||
82 | let s:low_color = 1 | ||
83 | endif | ||
84 | |||
85 | " Configuration Variables: | ||
86 | " - g:jellybeans_overrides (default = {}) | ||
87 | " - g:jellybeans_use_lowcolor_black (default = 0) | ||
88 | " - g:jellybeans_use_gui_italics (default = 1) | ||
89 | " - g:jellybeans_use_term_italics (default = 0) | ||
90 | |||
91 | let s:background_color = "151515" | ||
92 | |||
93 | if exists("g:jellybeans_overrides") | ||
94 | let s:overrides = g:jellybeans_overrides | ||
95 | else | ||
96 | let s:overrides = {} | ||
97 | endif | ||
98 | |||
99 | " Backwards compatibility | ||
100 | if exists("g:jellybeans_background_color") | ||
101 | \ || exists("g:jellybeans_background_color_256") | ||
102 | \ || exists("g:jellybeans_use_term_background_color") | ||
103 | |||
104 | let s:overrides = deepcopy(s:overrides) | ||
105 | |||
106 | if !has_key(s:overrides, "background") | ||
107 | let s:overrides["background"] = {} | ||
108 | endif | ||
109 | |||
110 | if exists("g:jellybeans_background_color") | ||
111 | let s:overrides["background"]["guibg"] = g:jellybeans_background_color | ||
112 | endif | ||
113 | |||
114 | if exists("g:jellybeans_background_color_256") | ||
115 | let s:overrides["background"]["256ctermbg"] = g:jellybeans_background_color_256 | ||
116 | endif | ||
117 | |||
118 | if exists("g:jellybeans_use_term_background_color") | ||
119 | \ && g:jellybeans_use_term_background_color | ||
120 | let s:overrides["background"]["ctermbg"] = "NONE" | ||
121 | let s:overrides["background"]["256ctermbg"] = "NONE" | ||
122 | endif | ||
123 | endif | ||
124 | |||
125 | if exists("g:jellybeans_use_lowcolor_black") && g:jellybeans_use_lowcolor_black | ||
126 | let s:termBlack = "Black" | ||
127 | else | ||
128 | let s:termBlack = "Grey" | ||
129 | endif | ||
130 | |||
131 | " When `termguicolors` is set, Vim[^1] ignores `hi Normal guibg=NONE` | ||
132 | " after Normal's `guibg` is already set to a color. See: | ||
133 | " | ||
134 | " - https://github.com/vim/vim/issues/981 | ||
135 | " - https://github.com/nanotech/jellybeans.vim/issues/64 | ||
136 | " | ||
137 | " To work around this, ensure we don't set the default background | ||
138 | " color before an override changes it to `NONE` by ensuring that the | ||
139 | " background color isn't set to a value different from its override. | ||
140 | " | ||
141 | " [^1]: Tested on 8.0.567. Does not apply to Neovim. | ||
142 | " | ||
143 | if has_key(s:overrides, "background") && has_key(s:overrides["background"], "guibg") | ||
144 | let s:background_color = s:overrides["background"]["guibg"] | ||
145 | endif | ||
146 | |||
147 | " Color approximation functions by Henry So, Jr. and David Liang {{{ | ||
148 | " Added to jellybeans.vim by Daniel Herbert | ||
149 | |||
150 | if &t_Co == 88 | ||
151 | |||
152 | " returns an approximate grey index for the given grey level | ||
153 | fun! s:grey_number(x) | ||
154 | if a:x < 23 | ||
155 | return 0 | ||
156 | elseif a:x < 69 | ||
157 | return 1 | ||
158 | elseif a:x < 103 | ||
159 | return 2 | ||
160 | elseif a:x < 127 | ||
161 | return 3 | ||
162 | elseif a:x < 150 | ||
163 | return 4 | ||
164 | elseif a:x < 173 | ||
165 | return 5 | ||
166 | elseif a:x < 196 | ||
167 | return 6 | ||
168 | elseif a:x < 219 | ||
169 | return 7 | ||
170 | elseif a:x < 243 | ||
171 | return 8 | ||
172 | else | ||
173 | return 9 | ||
174 | endif | ||
175 | endfun | ||
176 | |||
177 | " returns the actual grey level represented by the grey index | ||
178 | fun! s:grey_level(n) | ||
179 | if a:n == 0 | ||
180 | return 0 | ||
181 | elseif a:n == 1 | ||
182 | return 46 | ||
183 | elseif a:n == 2 | ||
184 | return 92 | ||
185 | elseif a:n == 3 | ||
186 | return 115 | ||
187 | elseif a:n == 4 | ||
188 | return 139 | ||
189 | elseif a:n == 5 | ||
190 | return 162 | ||
191 | elseif a:n == 6 | ||
192 | return 185 | ||
193 | elseif a:n == 7 | ||
194 | return 208 | ||
195 | elseif a:n == 8 | ||
196 | return 231 | ||
197 | else | ||
198 | return 255 | ||
199 | endif | ||
200 | endfun | ||
201 | |||
202 | " returns the palette index for the given grey index | ||
203 | fun! s:grey_color(n) | ||
204 | if a:n == 0 | ||
205 | return 16 | ||
206 | elseif a:n == 9 | ||
207 | return 79 | ||
208 | else | ||
209 | return 79 + a:n | ||
210 | endif | ||
211 | endfun | ||
212 | |||
213 | " returns an approximate color index for the given color level | ||
214 | fun! s:rgb_number(x) | ||
215 | if a:x < 69 | ||
216 | return 0 | ||
217 | elseif a:x < 172 | ||
218 | return 1 | ||
219 | elseif a:x < 230 | ||
220 | return 2 | ||
221 | else | ||
222 | return 3 | ||
223 | endif | ||
224 | endfun | ||
225 | |||
226 | " returns the actual color level for the given color index | ||
227 | fun! s:rgb_level(n) | ||
228 | if a:n == 0 | ||
229 | return 0 | ||
230 | elseif a:n == 1 | ||
231 | return 139 | ||
232 | elseif a:n == 2 | ||
233 | return 205 | ||
234 | else | ||
235 | return 255 | ||
236 | endif | ||
237 | endfun | ||
238 | |||
239 | " returns the palette index for the given R/G/B color indices | ||
240 | fun! s:rgb_color(x, y, z) | ||
241 | return 16 + (a:x * 16) + (a:y * 4) + a:z | ||
242 | endfun | ||
243 | |||
244 | else " assuming &t_Co == 256 | ||
245 | |||
246 | " returns an approximate grey index for the given grey level | ||
247 | fun! s:grey_number(x) | ||
248 | if a:x < 14 | ||
249 | return 0 | ||
250 | else | ||
251 | let l:n = (a:x - 8) / 10 | ||
252 | let l:m = (a:x - 8) % 10 | ||
253 | if l:m < 5 | ||
254 | return l:n | ||
255 | else | ||
256 | return l:n + 1 | ||
257 | endif | ||
258 | endif | ||
259 | endfun | ||
260 | |||
261 | " returns the actual grey level represented by the grey index | ||
262 | fun! s:grey_level(n) | ||
263 | if a:n == 0 | ||
264 | return 0 | ||
265 | else | ||
266 | return 8 + (a:n * 10) | ||
267 | endif | ||
268 | endfun | ||
269 | |||
270 | " returns the palette index for the given grey index | ||
271 | fun! s:grey_color(n) | ||
272 | if a:n == 0 | ||
273 | return 16 | ||
274 | elseif a:n == 25 | ||
275 | return 231 | ||
276 | else | ||
277 | return 231 + a:n | ||
278 | endif | ||
279 | endfun | ||
280 | |||
281 | " returns an approximate color index for the given color level | ||
282 | fun! s:rgb_number(x) | ||
283 | if a:x < 75 | ||
284 | return 0 | ||
285 | else | ||
286 | let l:n = (a:x - 55) / 40 | ||
287 | let l:m = (a:x - 55) % 40 | ||
288 | if l:m < 20 | ||
289 | return l:n | ||
290 | else | ||
291 | return l:n + 1 | ||
292 | endif | ||
293 | endif | ||
294 | endfun | ||
295 | |||
296 | " returns the actual color level for the given color index | ||
297 | fun! s:rgb_level(n) | ||
298 | if a:n == 0 | ||
299 | return 0 | ||
300 | else | ||
301 | return 55 + (a:n * 40) | ||
302 | endif | ||
303 | endfun | ||
304 | |||
305 | " returns the palette index for the given R/G/B color indices | ||
306 | fun! s:rgb_color(x, y, z) | ||
307 | return 16 + (a:x * 36) + (a:y * 6) + a:z | ||
308 | endfun | ||
309 | |||
310 | endif | ||
311 | |||
312 | " returns the palette index to approximate the given R/G/B color levels | ||
313 | fun! s:color(r, g, b) | ||
314 | " map greys directly (see xterm's 256colres.pl) | ||
315 | if &t_Co == 256 && a:r == a:g && a:g == a:b && a:r > 3 && a:r < 243 | ||
316 | return (a:r - 8) / 10 + 232 | ||
317 | endif | ||
318 | |||
319 | " get the closest grey | ||
320 | let l:gx = s:grey_number(a:r) | ||
321 | let l:gy = s:grey_number(a:g) | ||
322 | let l:gz = s:grey_number(a:b) | ||
323 | |||
324 | " get the closest color | ||
325 | let l:x = s:rgb_number(a:r) | ||
326 | let l:y = s:rgb_number(a:g) | ||
327 | let l:z = s:rgb_number(a:b) | ||
328 | |||
329 | if l:gx == l:gy && l:gy == l:gz | ||
330 | " there are two possibilities | ||
331 | let l:dgr = s:grey_level(l:gx) - a:r | ||
332 | let l:dgg = s:grey_level(l:gy) - a:g | ||
333 | let l:dgb = s:grey_level(l:gz) - a:b | ||
334 | let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) | ||
335 | let l:dr = s:rgb_level(l:gx) - a:r | ||
336 | let l:dg = s:rgb_level(l:gy) - a:g | ||
337 | let l:db = s:rgb_level(l:gz) - a:b | ||
338 | let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) | ||
339 | if l:dgrey < l:drgb | ||
340 | " use the grey | ||
341 | return s:grey_color(l:gx) | ||
342 | else | ||
343 | " use the color | ||
344 | return s:rgb_color(l:x, l:y, l:z) | ||
345 | endif | ||
346 | else | ||
347 | " only one possibility | ||
348 | return s:rgb_color(l:x, l:y, l:z) | ||
349 | endif | ||
350 | endfun | ||
351 | |||
352 | fun! s:is_empty_or_none(str) | ||
353 | return empty(a:str) || a:str ==? "NONE" | ||
354 | endfun | ||
355 | |||
356 | " returns the palette index to approximate the 'rrggbb' hex string | ||
357 | fun! s:rgb(rgb) | ||
358 | if s:is_empty_or_none(a:rgb) | ||
359 | return "NONE" | ||
360 | endif | ||
361 | let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0 | ||
362 | let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0 | ||
363 | let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0 | ||
364 | return s:color(l:r, l:g, l:b) | ||
365 | endfun | ||
366 | |||
367 | fun! s:prefix_highlight_value_with(prefix, color) | ||
368 | if s:is_empty_or_none(a:color) | ||
369 | return "NONE" | ||
370 | else | ||
371 | return a:prefix . a:color | ||
372 | endif | ||
373 | endfun | ||
374 | |||
375 | fun! s:remove_italic_attr(attr) | ||
376 | let l:attr = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",") | ||
377 | if empty(l:attr) | ||
378 | let l:attr = "NONE" | ||
379 | endif | ||
380 | return l:attr | ||
381 | endfun | ||
382 | |||
383 | " sets the highlighting for the given group | ||
384 | fun! s:X(group, fg, bg, attr, lcfg, lcbg) | ||
385 | if s:low_color | ||
386 | let l:cmd = "hi ".a:group. | ||
387 | \ " ctermfg=".s:prefix_highlight_value_with("", a:lcfg). | ||
388 | \ " ctermbg=".s:prefix_highlight_value_with("", a:lcbg) | ||
389 | else | ||
390 | let l:cmd = "hi ".a:group. | ||
391 | \ " guifg=".s:prefix_highlight_value_with("#", a:fg). | ||
392 | \ " guibg=".s:prefix_highlight_value_with("#", a:bg) | ||
393 | if !s:true_color | ||
394 | let l:cmd = l:cmd. | ||
395 | \ " ctermfg=".s:rgb(a:fg). | ||
396 | \ " ctermbg=".s:rgb(a:bg) | ||
397 | endif | ||
398 | endif | ||
399 | |||
400 | let l:attr = s:prefix_highlight_value_with("", a:attr) | ||
401 | |||
402 | if exists("g:jellybeans_use_term_italics") && g:jellybeans_use_term_italics | ||
403 | let l:cterm_attr = l:attr | ||
404 | else | ||
405 | let l:cterm_attr = s:remove_italic_attr(l:attr) | ||
406 | endif | ||
407 | |||
408 | if !exists("g:jellybeans_use_gui_italics") || g:jellybeans_use_gui_italics | ||
409 | let l:gui_attr = l:attr | ||
410 | else | ||
411 | let l:gui_attr = s:remove_italic_attr(l:attr) | ||
412 | endif | ||
413 | |||
414 | let l:cmd = l:cmd." gui=".l:gui_attr." cterm=".l:cterm_attr | ||
415 | exec l:cmd | ||
416 | endfun | ||
417 | " }}} | ||
418 | |||
419 | call s:X("Normal","e8e8d3",s:background_color,"","White","") | ||
420 | set background=dark | ||
421 | |||
422 | call s:X("CursorLine","","1c1c1c","","",s:termBlack) | ||
423 | call s:X("CursorColumn","","1c1c1c","","",s:termBlack) | ||
424 | |||
425 | " Some of Terminal.app's default themes have a cursor color | ||
426 | " too close to Jellybeans' preferred MatchParen background | ||
427 | " color to be easily distinguishable. Other terminals tend | ||
428 | " to use a brighter cursor color. | ||
429 | " | ||
430 | " Use a more distinct color in Terminal.app, and also in | ||
431 | " low-color terminals if the preferred background color is | ||
432 | " not available. | ||
433 | if !has('gui_running') && $TERM_PROGRAM == "Apple_Terminal" | ||
434 | let s:matchParenGuiFg = "dd0093" | ||
435 | let s:matchParenGuiBg = "000000" | ||
436 | else | ||
437 | let s:matchParenGuiFg = "ffffff" | ||
438 | let s:matchParenGuiBg = "556779" | ||
439 | endif | ||
440 | if s:termBlack != "Black" | ||
441 | let s:matchParenTermFg = "Magenta" | ||
442 | let s:matchParenTermBg = "" | ||
443 | else | ||
444 | let s:matchParenTermFg = "" | ||
445 | let s:matchParenTermBg = s:termBlack | ||
446 | endif | ||
447 | call s:X("MatchParen",s:matchParenGuiFg,s:matchParenGuiBg,"bold", | ||
448 | \ s:matchParenTermFg,s:matchParenTermBg) | ||
449 | |||
450 | call s:X("TabLine","000000","b0b8c0","italic","",s:termBlack) | ||
451 | call s:X("TabLineFill","9098a0","","","",s:termBlack) | ||
452 | call s:X("TabLineSel","000000","f0f0f0","italic,bold",s:termBlack,"White") | ||
453 | |||
454 | " Auto-completion | ||
455 | call s:X("Pmenu","ffffff","606060","","White",s:termBlack) | ||
456 | call s:X("PmenuSel","101010","eeeeee","",s:termBlack,"White") | ||
457 | |||
458 | call s:X("Visual","","404040","","",s:termBlack) | ||
459 | call s:X("Cursor",s:background_color,"b0d0f0","","","") | ||
460 | |||
461 | call s:X("LineNr","605958",s:background_color,"NONE",s:termBlack,"") | ||
462 | call s:X("CursorLineNr","ccc5c4","","NONE","White","") | ||
463 | call s:X("Comment","888888","","italic","Grey","") | ||
464 | call s:X("Todo","c7c7c7","","bold","White",s:termBlack) | ||
465 | |||
466 | call s:X("StatusLine","000000","dddddd","italic","","White") | ||
467 | call s:X("StatusLineNC","ffffff","403c41","italic","White","Black") | ||
468 | call s:X("VertSplit","777777","403c41","",s:termBlack,s:termBlack) | ||
469 | call s:X("WildMenu","f0a0c0","302028","","Magenta","") | ||
470 | |||
471 | call s:X("Folded","a0a8b0","384048","italic",s:termBlack,"") | ||
472 | call s:X("FoldColumn","535D66","1f1f1f","","",s:termBlack) | ||
473 | call s:X("SignColumn","777777","333333","","",s:termBlack) | ||
474 | call s:X("ColorColumn","","000000","","",s:termBlack) | ||
475 | |||
476 | call s:X("Title","70b950","","bold","Green","") | ||
477 | |||
478 | call s:X("Constant","cf6a4c","","","Red","") | ||
479 | call s:X("Special","799d6a","","","Green","") | ||
480 | call s:X("Delimiter","668799","","","Grey","") | ||
481 | |||
482 | call s:X("String","99ad6a","","","Green","") | ||
483 | call s:X("StringDelimiter","556633","","","DarkGreen","") | ||
484 | |||
485 | call s:X("Identifier","c6b6ee","","","LightCyan","") | ||
486 | call s:X("Structure","8fbfdc","","","LightCyan","") | ||
487 | call s:X("Function","fad07a","","","Yellow","") | ||
488 | call s:X("Statement","8197bf","","","DarkBlue","") | ||
489 | call s:X("PreProc","8fbfdc","","","LightBlue","") | ||
490 | |||
491 | hi! link Operator Structure | ||
492 | hi! link Conceal Operator | ||
493 | |||
494 | call s:X("Type","ffb964","","","Yellow","") | ||
495 | call s:X("NonText","606060",s:background_color,"",s:termBlack,"") | ||
496 | |||
497 | call s:X("SpecialKey","444444","1c1c1c","",s:termBlack,"") | ||
498 | |||
499 | call s:X("Search","f0a0c0","302028","underline","Magenta","") | ||
500 | |||
501 | call s:X("Directory","dad085","","","Yellow","") | ||
502 | call s:X("ErrorMsg","","902020","","","DarkRed") | ||
503 | hi! link Error ErrorMsg | ||
504 | hi! link MoreMsg Special | ||
505 | call s:X("Question","65C254","","","Green","") | ||
506 | |||
507 | |||
508 | " Spell Checking | ||
509 | |||
510 | call s:X("SpellBad","","902020","underline","","DarkRed") | ||
511 | call s:X("SpellCap","","0000df","underline","","Blue") | ||
512 | call s:X("SpellRare","","540063","underline","","DarkMagenta") | ||
513 | call s:X("SpellLocal","","2D7067","underline","","Green") | ||
514 | |||
515 | " Diff | ||
516 | |||
517 | hi! link diffRemoved Constant | ||
518 | hi! link diffAdded String | ||
519 | |||
520 | " VimDiff | ||
521 | |||
522 | call s:X("DiffAdd","D2EBBE","437019","","White","DarkGreen") | ||
523 | call s:X("DiffDelete","40000A","700009","","DarkRed","DarkRed") | ||
524 | call s:X("DiffChange","","2B5B77","","White","DarkBlue") | ||
525 | call s:X("DiffText","8fbfdc","000000","reverse","Yellow","") | ||
526 | |||
527 | " PHP | ||
528 | |||
529 | hi! link phpFunctions Function | ||
530 | call s:X("StorageClass","c59f6f","","","Red","") | ||
531 | hi! link phpSuperglobal Identifier | ||
532 | hi! link phpQuoteSingle StringDelimiter | ||
533 | hi! link phpQuoteDouble StringDelimiter | ||
534 | hi! link phpBoolean Constant | ||
535 | hi! link phpNull Constant | ||
536 | hi! link phpArrayPair Operator | ||
537 | hi! link phpOperator Normal | ||
538 | hi! link phpRelation Normal | ||
539 | hi! link phpVarSelector Identifier | ||
540 | |||
541 | " Python | ||
542 | |||
543 | hi! link pythonOperator Statement | ||
544 | |||
545 | " Ruby | ||
546 | |||
547 | hi! link rubySharpBang Comment | ||
548 | call s:X("rubyClass","447799","","","DarkBlue","") | ||
549 | call s:X("rubyIdentifier","c6b6fe","","","Cyan","") | ||
550 | hi! link rubyConstant Type | ||
551 | hi! link rubyFunction Function | ||
552 | |||
553 | call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") | ||
554 | call s:X("rubySymbol","7697d6","","","Blue","") | ||
555 | hi! link rubyGlobalVariable rubyInstanceVariable | ||
556 | hi! link rubyModule rubyClass | ||
557 | call s:X("rubyControl","7597c6","","","Blue","") | ||
558 | |||
559 | hi! link rubyString String | ||
560 | hi! link rubyStringDelimiter StringDelimiter | ||
561 | hi! link rubyInterpolationDelimiter Identifier | ||
562 | |||
563 | call s:X("rubyRegexpDelimiter","540063","","","Magenta","") | ||
564 | call s:X("rubyRegexp","dd0093","","","DarkMagenta","") | ||
565 | call s:X("rubyRegexpSpecial","a40073","","","Magenta","") | ||
566 | |||
567 | call s:X("rubyPredefinedIdentifier","de5577","","","Red","") | ||
568 | |||
569 | " Erlang | ||
570 | |||
571 | hi! link erlangAtom rubySymbol | ||
572 | hi! link erlangBIF rubyPredefinedIdentifier | ||
573 | hi! link erlangFunction rubyPredefinedIdentifier | ||
574 | hi! link erlangDirective Statement | ||
575 | hi! link erlangNode Identifier | ||
576 | |||
577 | " Elixir | ||
578 | |||
579 | hi! link elixirAtom rubySymbol | ||
580 | |||
581 | |||
582 | " JavaScript | ||
583 | |||
584 | hi! link javaScriptValue Constant | ||
585 | hi! link javaScriptRegexpString rubyRegexp | ||
586 | hi! link javaScriptTemplateVar StringDelim | ||
587 | hi! link javaScriptTemplateDelim Identifier | ||
588 | hi! link javaScriptTemplateString String | ||
589 | |||
590 | " CoffeeScript | ||
591 | |||
592 | hi! link coffeeRegExp javaScriptRegexpString | ||
593 | |||
594 | " Lua | ||
595 | |||
596 | hi! link luaOperator Conditional | ||
597 | |||
598 | " C | ||
599 | |||
600 | hi! link cFormat Identifier | ||
601 | hi! link cOperator Constant | ||
602 | |||
603 | " Objective-C/Cocoa | ||
604 | |||
605 | hi! link objcClass Type | ||
606 | hi! link cocoaClass objcClass | ||
607 | hi! link objcSubclass objcClass | ||
608 | hi! link objcSuperclass objcClass | ||
609 | hi! link objcDirective rubyClass | ||
610 | hi! link objcStatement Constant | ||
611 | hi! link cocoaFunction Function | ||
612 | hi! link objcMethodName Identifier | ||
613 | hi! link objcMethodArg Normal | ||
614 | hi! link objcMessageName Identifier | ||
615 | |||
616 | " Vimscript | ||
617 | |||
618 | hi! link vimOper Normal | ||
619 | |||
620 | " HTML | ||
621 | |||
622 | hi! link htmlTag Statement | ||
623 | hi! link htmlEndTag htmlTag | ||
624 | hi! link htmlTagName htmlTag | ||
625 | |||
626 | " XML | ||
627 | |||
628 | hi! link xmlTag Statement | ||
629 | hi! link xmlEndTag xmlTag | ||
630 | hi! link xmlTagName xmlTag | ||
631 | hi! link xmlEqual xmlTag | ||
632 | hi! link xmlEntity Special | ||
633 | hi! link xmlEntityPunct xmlEntity | ||
634 | hi! link xmlDocTypeDecl PreProc | ||
635 | hi! link xmlDocTypeKeyword PreProc | ||
636 | hi! link xmlProcessingDelim xmlAttrib | ||
637 | |||
638 | " Debugger.vim | ||
639 | |||
640 | call s:X("DbgCurrent","DEEBFE","345FA8","","White","DarkBlue") | ||
641 | call s:X("DbgBreakPt","","4F0037","","","DarkMagenta") | ||
642 | |||
643 | " vim-indent-guides | ||
644 | |||
645 | if !exists("g:indent_guides_auto_colors") | ||
646 | let g:indent_guides_auto_colors = 0 | ||
647 | endif | ||
648 | call s:X("IndentGuidesOdd","","232323","","","") | ||
649 | call s:X("IndentGuidesEven","","1b1b1b","","","") | ||
650 | |||
651 | " Plugins, etc. | ||
652 | |||
653 | hi! link TagListFileName Directory | ||
654 | call s:X("PreciseJumpTarget","B9ED67","405026","","White","Green") | ||
655 | |||
656 | " Manual overrides for 256-color terminals. Dark colors auto-map badly. | ||
657 | if !s:low_color | ||
658 | hi StatusLineNC ctermbg=235 | ||
659 | hi Folded ctermbg=236 | ||
660 | hi DiffText ctermfg=81 | ||
661 | hi DbgBreakPt ctermbg=53 | ||
662 | hi IndentGuidesOdd ctermbg=235 | ||
663 | hi IndentGuidesEven ctermbg=234 | ||
664 | endif | ||
665 | |||
666 | if !empty("s:overrides") | ||
667 | fun! s:current_attr(group) | ||
668 | let l:synid = synIDtrans(hlID(a:group)) | ||
669 | let l:attrs = [] | ||
670 | for l:attr in ["bold", "italic", "reverse", "standout", "underline", "undercurl"] | ||
671 | if synIDattr(l:synid, l:attr, "gui") == 1 | ||
672 | call add(l:attrs, l:attr) | ||
673 | endif | ||
674 | endfor | ||
675 | return join(l:attrs, ",") | ||
676 | endfun | ||
677 | fun! s:current_color(group, what, mode) | ||
678 | let l:color = synIDattr(synIDtrans(hlID(a:group)), a:what, a:mode) | ||
679 | if l:color == -1 | ||
680 | return "" | ||
681 | else | ||
682 | return substitute(l:color, "^#", "", "") | ||
683 | endif | ||
684 | endfun | ||
685 | fun! s:load_color_def(group, def) | ||
686 | call s:X(a:group, get(a:def, "guifg", s:current_color(a:group, "fg", "gui")), | ||
687 | \ get(a:def, "guibg", s:current_color(a:group, "bg", "gui")), | ||
688 | \ get(a:def, "attr", s:current_attr(a:group)), | ||
689 | \ get(a:def, "ctermfg", s:current_color(a:group, "fg", "cterm")), | ||
690 | \ get(a:def, "ctermbg", s:current_color(a:group, "bg", "cterm"))) | ||
691 | if !s:low_color | ||
692 | for l:prop in ["ctermfg", "ctermbg"] | ||
693 | let l:override_key = "256".l:prop | ||
694 | if has_key(a:def, l:override_key) | ||
695 | exec "hi ".a:group." ".l:prop."=".a:def[l:override_key] | ||
696 | endif | ||
697 | endfor | ||
698 | endif | ||
699 | endfun | ||
700 | fun! s:load_colors(defs) | ||
701 | for [l:group, l:def] in items(a:defs) | ||
702 | if l:group == "background" | ||
703 | call s:load_color_def("LineNr", l:def) | ||
704 | call s:load_color_def("NonText", l:def) | ||
705 | call s:load_color_def("Normal", l:def) | ||
706 | else | ||
707 | call s:load_color_def(l:group, l:def) | ||
708 | endif | ||
709 | unlet l:group | ||
710 | unlet l:def | ||
711 | endfor | ||
712 | endfun | ||
713 | call s:load_colors(s:overrides) | ||
714 | delf s:load_colors | ||
715 | delf s:load_color_def | ||
716 | delf s:current_color | ||
717 | delf s:current_attr | ||
718 | endif | ||
719 | |||
720 | " delete functions {{{ | ||
721 | delf s:X | ||
722 | delf s:remove_italic_attr | ||
723 | delf s:prefix_highlight_value_with | ||
724 | delf s:rgb | ||
725 | delf s:is_empty_or_none | ||
726 | delf s:color | ||
727 | delf s:rgb_color | ||
728 | delf s:rgb_level | ||
729 | delf s:rgb_number | ||
730 | delf s:grey_color | ||
731 | delf s:grey_level | ||
732 | delf s:grey_number | ||
733 | " }}} | ||
diff --git a/nvim/.config/nvim/colors/monochrome.vim b/nvim/.config/nvim/colors/monochrome.vim new file mode 100644 index 0000000..5c4bf00 --- /dev/null +++ b/nvim/.config/nvim/colors/monochrome.vim | |||
@@ -0,0 +1,254 @@ | |||
1 | " Vim color scheme | ||
2 | " | ||
3 | " Name: monochrome.vim | ||
4 | " Maintainer: Xavier Noria <fxn@hashref.com> | ||
5 | " License: MIT | ||
6 | |||
7 | set background=dark | ||
8 | |||
9 | hi clear | ||
10 | if exists('syntax_on') | ||
11 | syntax reset | ||
12 | endif | ||
13 | |||
14 | let g:colors_name = 'monochrome' | ||
15 | |||
16 | let s:white = ['White', 15] | ||
17 | let s:black = ['#0e1111', 16] | ||
18 | let s:bgray = ['#181818', 233] | ||
19 | let s:lgray = ['LightGray', 255] | ||
20 | let s:cgray = ['#737373', 243] | ||
21 | let s:dgray = ['DarkGray', 248] | ||
22 | let s:sblue = ['#778899', 67] | ||
23 | let s:yellow = ['Yellow', 226] | ||
24 | let s:red = ['#b6403a', 160] | ||
25 | let s:green = ['#478226', 28] | ||
26 | |||
27 | let s:default_fg = s:lgray | ||
28 | let s:default_bg = s:black | ||
29 | |||
30 | let s:italic = 'italic' | ||
31 | let s:bold = 'bold' | ||
32 | let s:underline = 'underline' | ||
33 | let s:none = 'NONE' | ||
34 | |||
35 | let s:default_lst = [] | ||
36 | let s:default_str = '' | ||
37 | |||
38 | if !exists("g:monochrome_italic_comments") | ||
39 | let g:monochrome_italic_comments = 0 | ||
40 | endif | ||
41 | let s:comment_attr = g:monochrome_italic_comments ? s:italic : s:none | ||
42 | |||
43 | function! s:hi(...) | ||
44 | let group = a:1 | ||
45 | let fg = get(a:, 2, s:default_fg) | ||
46 | let bg = get(a:, 3, s:default_bg) | ||
47 | let attr = get(a:, 4, s:default_str) | ||
48 | |||
49 | let cmd = ['hi', group] | ||
50 | |||
51 | if fg != s:default_lst | ||
52 | call add(cmd, 'guifg='.fg[0]) | ||
53 | call add(cmd, 'ctermfg='.fg[1]) | ||
54 | endif | ||
55 | |||
56 | if bg != s:default_lst && bg != s:default_bg | ||
57 | call add(cmd, 'guibg='.bg[0]) | ||
58 | call add(cmd, 'ctermbg='.bg[1]) | ||
59 | endif | ||
60 | |||
61 | if attr != s:default_str | ||
62 | call add(cmd, 'gui='.attr) | ||
63 | call add(cmd, 'cterm='.attr) | ||
64 | endif | ||
65 | |||
66 | exec join(cmd, ' ') | ||
67 | endfunction | ||
68 | |||
69 | |||
70 | " | ||
71 | " --- Vim interface ------------------------------------------------------------ | ||
72 | " | ||
73 | |||
74 | call s:hi('Normal') | ||
75 | call s:hi('Cursor', s:black, s:lgray) | ||
76 | call s:hi('CursorLine', s:default_lst, s:bgray, s:none) | ||
77 | call s:hi('CursorLineNr', s:white, s:default_bg, s:bold) | ||
78 | call s:hi('ColorColumn', s:default_fg, s:bgray) | ||
79 | call s:hi('Search', s:white, s:sblue) | ||
80 | call s:hi('Visual', s:white, s:sblue) | ||
81 | call s:hi('ErrorMsg', s:white, s:red) | ||
82 | |||
83 | " Tildes at the bottom of a buffer, etc. | ||
84 | call s:hi('NonText', s:dgray) | ||
85 | |||
86 | " Folding. | ||
87 | call s:hi('FoldColumn', s:dgray) | ||
88 | call s:hi('Folded') | ||
89 | |||
90 | " Line numbers gutter. | ||
91 | call s:hi('LineNr', s:dgray) | ||
92 | |||
93 | " Small arrow used for tabs. | ||
94 | call s:hi('SpecialKey', s:sblue, s:default_bg, s:bold) | ||
95 | |||
96 | " File browsers. | ||
97 | call s:hi('Directory', s:white, s:default_bg, s:bold) | ||
98 | |||
99 | " Help. | ||
100 | call s:hi('helpSpecial') | ||
101 | call s:hi('helpHyperTextJump', s:sblue, s:default_bg, s:underline) | ||
102 | call s:hi('helpNote') | ||
103 | |||
104 | " Popup menu. | ||
105 | call s:hi('Pmenu', s:white, s:sblue) | ||
106 | call s:hi('PmenuSel', s:sblue, s:white) | ||
107 | |||
108 | " Notes. | ||
109 | call s:hi('Todo', s:black, s:yellow, s:bold) | ||
110 | |||
111 | " Signs. | ||
112 | call s:hi('SignColumn') | ||
113 | |||
114 | " | ||
115 | " --- Programming languages ---------------------------------------------------- | ||
116 | " | ||
117 | |||
118 | call s:hi('Statement', s:white, s:default_bg, s:bold) | ||
119 | call s:hi('PreProc', s:white, s:default_bg, s:bold) | ||
120 | call s:hi('String', s:sblue) | ||
121 | call s:hi('Comment', s:cgray, s:default_bg, s:comment_attr) | ||
122 | call s:hi('Constant') | ||
123 | call s:hi('Type', s:white, s:default_bg, s:bold) | ||
124 | call s:hi('Function', s:white) | ||
125 | call s:hi('Identifier') | ||
126 | call s:hi('Special') | ||
127 | call s:hi('MatchParen', s:lgray, s:black, s:underline) | ||
128 | |||
129 | |||
130 | " | ||
131 | " --- VimL --------------------------------------------------------------------- | ||
132 | " | ||
133 | |||
134 | call s:hi('vimOption') | ||
135 | call s:hi('vimGroup') | ||
136 | call s:hi('vimHiClear') | ||
137 | call s:hi('vimHiGroup') | ||
138 | call s:hi('vimHiAttrib') | ||
139 | call s:hi('vimHiGui') | ||
140 | call s:hi('vimHiGuiFgBg') | ||
141 | call s:hi('vimHiCTerm') | ||
142 | call s:hi('vimHiCTermFgBg') | ||
143 | call s:hi('vimSynType') | ||
144 | hi link vimCommentTitle Comment | ||
145 | |||
146 | |||
147 | " | ||
148 | " --- Ruby --------------------------------------------------------------------- | ||
149 | " | ||
150 | |||
151 | call s:hi('rubyConstant') | ||
152 | call s:hi('rubySharpBang', s:cgray) | ||
153 | call s:hi('rubySymbol', s:sblue) | ||
154 | call s:hi('rubyStringDelimiter', s:sblue) | ||
155 | call s:hi('rubyStringEscape', s:sblue) | ||
156 | call s:hi('rubyRegexpEscape', s:sblue) | ||
157 | call s:hi('rubyRegexpAnchor', s:sblue) | ||
158 | call s:hi('rubyRegexpSpecial', s:sblue) | ||
159 | |||
160 | |||
161 | " | ||
162 | " --- Elixir ------------------------------------------------------------------- | ||
163 | " | ||
164 | |||
165 | call s:hi('elixirAlias', s:default_fg, s:default_bg, s:none) | ||
166 | call s:hi('elixirDelimiter', s:sblue) | ||
167 | call s:hi('elixirSelf', s:default_fg, s:default_bg, s:none) | ||
168 | |||
169 | " For ||, ->, etc. | ||
170 | call s:hi('elixirOperator') | ||
171 | |||
172 | " Module attributes like @doc or @type. | ||
173 | hi link elixirVariable Statement | ||
174 | |||
175 | " While rendered as comments in other languages, docstrings are strings, | ||
176 | " experimental. | ||
177 | hi link elixirDocString String | ||
178 | hi link elixirDocTest String | ||
179 | hi link elixirStringDelimiter String | ||
180 | |||
181 | |||
182 | " | ||
183 | " --- Perl --------------------------------------------------------------------- | ||
184 | " | ||
185 | |||
186 | call s:hi('perlSharpBang', s:cgray) | ||
187 | call s:hi('perlStringStartEnd', s:sblue) | ||
188 | call s:hi('perlStringEscape', s:sblue) | ||
189 | call s:hi('perlMatchStartEnd', s:sblue) | ||
190 | |||
191 | |||
192 | " | ||
193 | " --- Python ------------------------------------------------------------------- | ||
194 | " | ||
195 | |||
196 | call s:hi('pythonEscape', s:sblue) | ||
197 | |||
198 | |||
199 | " | ||
200 | " --- JavaScript --------------------------------------------------------------- | ||
201 | " | ||
202 | |||
203 | call s:hi('javaScriptFunction', s:white, s:default_bg, s:bold) | ||
204 | |||
205 | |||
206 | " | ||
207 | " --- Diffs -------------------------------------------------------------------- | ||
208 | " | ||
209 | |||
210 | call s:hi('diffFile', s:cgray) | ||
211 | call s:hi('diffNewFile', s:cgray) | ||
212 | call s:hi('diffIndexLine', s:cgray) | ||
213 | call s:hi('diffLine', s:cgray) | ||
214 | call s:hi('diffSubname', s:cgray) | ||
215 | call s:hi('diffAdded', s:white, s:green) | ||
216 | call s:hi('diffRemoved', s:white, s:red) | ||
217 | |||
218 | |||
219 | " | ||
220 | " --- Markdown ----------------------------------------------------------------- | ||
221 | " | ||
222 | |||
223 | call s:hi('Title', s:white, s:default_bg, s:bold) | ||
224 | call s:hi('markdownHeadingDelimiter', s:white, s:default_bg, s:bold) | ||
225 | call s:hi('markdownHeadingRule', s:white, s:default_bg, s:bold) | ||
226 | call s:hi('markdownLinkText', s:sblue, s:default_bg, s:underline) | ||
227 | |||
228 | |||
229 | " | ||
230 | " --- vim-fugitive ------------------------------------------------------------- | ||
231 | " | ||
232 | |||
233 | call s:hi('gitcommitComment', s:default_fg, s:default_bg, s:none) | ||
234 | call s:hi('gitcommitOnBranch', s:default_fg, s:default_bg, s:none) | ||
235 | call s:hi('gitcommitBranch', s:sblue, s:default_bg, s:none) | ||
236 | call s:hi('gitcommitHeader', s:white, s:default_bg, s:bold) | ||
237 | call s:hi('gitcommitSelected', s:default_fg, s:default_bg, s:none) | ||
238 | call s:hi('gitcommitDiscarded', s:default_fg, s:default_bg, s:none) | ||
239 | call s:hi('gitcommitSelectedType', s:default_fg, s:default_bg, s:none) | ||
240 | call s:hi('gitcommitDiscardedType', s:default_fg, s:default_bg, s:none) | ||
241 | |||
242 | |||
243 | " | ||
244 | " --- NeoMake ------------------------------------------------------------------ | ||
245 | " | ||
246 | |||
247 | call s:hi('NeomakeMessageSign') | ||
248 | call s:hi('NeomakeWarningSign', s:sblue) | ||
249 | call s:hi('NeomakeErrorSign', s:yellow) | ||
250 | call s:hi('NeomakeInfoSign') | ||
251 | call s:hi('NeomakeError', s:yellow) | ||
252 | call s:hi('NeomakeInfo', s:default_fg, s:default_bg, s:bold) | ||
253 | call s:hi('NeomakeMessage') | ||
254 | call s:hi('NeomakeWarning', s:yellow) | ||
diff --git a/nvim/.config/nvim/colors/nerdy.vim b/nvim/.config/nvim/colors/nerdy.vim new file mode 100644 index 0000000..71e25eb --- /dev/null +++ b/nvim/.config/nvim/colors/nerdy.vim | |||
@@ -0,0 +1,313 @@ | |||
1 | " Name: plain.vim | ||
2 | " Version: 0.1 | ||
3 | " Maintainer: github.com/andreypopp | ||
4 | " License: The MIT License (MIT) | ||
5 | " | ||
6 | " Based on | ||
7 | " | ||
8 | " https://github.com/pbrisbin/vim-colors-off (MIT License) | ||
9 | " | ||
10 | " which in turn based on | ||
11 | " | ||
12 | " https://github.com/reedes/vim-colors-pencil (MIT License) | ||
13 | " | ||
14 | """ | ||
15 | hi clear | ||
16 | |||
17 | if exists('syntax on') | ||
18 | syntax reset | ||
19 | endif | ||
20 | |||
21 | let g:colors_name='plain' | ||
22 | |||
23 | let s:black = { "gui": "#222222", "cterm": "0" } | ||
24 | let s:medium_gray = { "gui": "#767676", "cterm": "8" } | ||
25 | let s:white = { "gui": "#F1F1F1", "cterm": "7" } | ||
26 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "15" } | ||
27 | let s:light_black = { "gui": "#424242", "cterm": "8" } | ||
28 | let s:lighter_black = { "gui": "#545454", "cterm": "8" } | ||
29 | let s:subtle_black = { "gui": "#303030", "cterm": "11" } | ||
30 | let s:light_gray = { "gui": "#999999", "cterm": "12" } | ||
31 | let s:lighter_gray = { "gui": "#CCCCCC", "cterm": "7" } | ||
32 | let s:lightest_gray = { "gui": "#E5E5E5", "cterm": "13" } | ||
33 | let s:pink = { "gui": "#FB007A", "cterm": "5" } | ||
34 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } | ||
35 | let s:light_red = { "gui": "#E32791", "cterm": "1" } | ||
36 | let s:orange = { "gui": "#D75F5F", "cterm": "9" } | ||
37 | let s:darker_blue = { "gui": "#005F87", "cterm": "4" } | ||
38 | let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } | ||
39 | let s:blue = { "gui": "#20BBFC", "cterm": "4" } | ||
40 | let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } | ||
41 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } | ||
42 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } | ||
43 | let s:dark_green = { "gui": "#10A778", "cterm": "6" } | ||
44 | let s:light_green = { "gui": "#5FD7A7", "cterm": "6" } | ||
45 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } | ||
46 | let s:light_purple = { "gui": "#6855DE", "cterm": "5" } | ||
47 | let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } | ||
48 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } | ||
49 | |||
50 | if &background == "dark" | ||
51 | let s:bg = s:black | ||
52 | let s:bg_subtle = s:light_black | ||
53 | let s:bg_very_subtle = s:subtle_black | ||
54 | let s:norm = s:lighter_gray | ||
55 | let s:norm_subtle = s:light_gray | ||
56 | let s:purple = s:light_purple | ||
57 | let s:cyan = s:light_cyan | ||
58 | let s:green = s:light_green | ||
59 | let s:red = s:light_red | ||
60 | let s:yellow = s:light_yellow | ||
61 | let s:visual = s:subtle_black | ||
62 | let s:cursor_line = s:subtle_black | ||
63 | let s:status_line = s:medium_gray | ||
64 | let s:status_line_nc = s:light_black | ||
65 | let s:constant = s:light_green | ||
66 | let s:comment = s:lighter_black | ||
67 | let s:selection = s:light_purple | ||
68 | let s:warning = s:yellow | ||
69 | else | ||
70 | let s:bg = s:white | ||
71 | let s:bg_subtle = s:lighter_gray | ||
72 | let s:bg_very_subtle = s:light_gray | ||
73 | let s:norm = s:light_black | ||
74 | let s:norm_subtle = s:lighter_black | ||
75 | let s:purple = s:dark_purple | ||
76 | let s:cyan = s:dark_cyan | ||
77 | let s:green = s:dark_green | ||
78 | let s:red = s:dark_red | ||
79 | let s:yellow = s:dark_yellow | ||
80 | let s:visual = s:light_blue | ||
81 | let s:cursor_line = s:medium_gray | ||
82 | let s:status_line = s:medium_gray | ||
83 | let s:status_line_nc = s:light_gray | ||
84 | let s:constant = s:dark_blue | ||
85 | let s:comment = s:light_gray | ||
86 | let s:selection = s:light_yellow | ||
87 | let s:warning = s:yellow | ||
88 | endif | ||
89 | |||
90 | " https://github.com/noahfrederick/vim-hemisu/ | ||
91 | function! s:h(group, style) | ||
92 | execute "highlight" a:group | ||
93 | \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE") | ||
94 | \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE") | ||
95 | \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE") | ||
96 | \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE") | ||
97 | \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE") | ||
98 | \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE") | ||
99 | \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") | ||
100 | endfunction | ||
101 | |||
102 | call s:h("firstAccent", {"bg": s:bg, "fg": s:cyan,}) | ||
103 | call s:h("secondAccent", {"bg": s:bg, "fg": s:purple,}) | ||
104 | |||
105 | call s:h("Normal", {"bg": s:bg, "fg": s:norm,}) | ||
106 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) | ||
107 | call s:h("Cursor", {"bg": s:green, "fg": s:norm}) | ||
108 | call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) | ||
109 | call s:h("Function", {"fg": s:norm, "cterm": "bold"}) | ||
110 | |||
111 | call s:h("Constant", {"bg": s:bg, "fg": s:constant}) | ||
112 | hi! link Character Constant | ||
113 | hi! link Number Constant | ||
114 | hi! link Boolean Constant | ||
115 | hi! link Float Constant | ||
116 | hi! link String Constant | ||
117 | |||
118 | "call s:h("Identifier", {"fg": s:dark_blue}) | ||
119 | hi! link Identifier Normal | ||
120 | |||
121 | "hi! link Statement Normal | ||
122 | call s:h("Statement", {"bg": s:bg, "fg": s:norm, "cterm": "bold"}) | ||
123 | hi! link Conditonal Statement | ||
124 | hi! link Repeat Statement | ||
125 | hi! link Label Statement | ||
126 | hi! link Operator Noise | ||
127 | hi! link Keyword Statement | ||
128 | hi! link Exception Statement | ||
129 | |||
130 | "call s:h("PreProc", {"fg": s:red}) | ||
131 | hi! link PreProc Normal | ||
132 | hi! link Include Statement | ||
133 | hi! link Define PreProc | ||
134 | hi! link Macro PreProc | ||
135 | hi! link PreCondit PreProc | ||
136 | |||
137 | "call s:h("Type", {"fg": s:purple}) | ||
138 | hi! link Type Normal | ||
139 | hi! link StorageClass Type | ||
140 | hi! link Structure Type | ||
141 | hi! link Typedef Type | ||
142 | |||
143 | "call s:h("Special", {"fg": s:pink}) | ||
144 | hi! link Special StatusLine | ||
145 | hi! link SpecialChar Special | ||
146 | hi! link Tag Special | ||
147 | hi! link Delimiter Special | ||
148 | hi! link SpecialComment Special | ||
149 | hi! link Debug Special | ||
150 | |||
151 | hi! link Conceal NonText | ||
152 | |||
153 | call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) | ||
154 | call s:h("Ignore", {"fg": s:bg}) | ||
155 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) | ||
156 | call s:h("Todo", {"fg": s:actual_white, "bg": s:black, "gui": "bold", "cterm": "bold"}) | ||
157 | call s:h("SpecialKey", {"fg": s:subtle_black}) | ||
158 | call s:h("NonText", {"fg": s:bg_very_subtle}) | ||
159 | call s:h("Directory", {"fg": s:dark_green}) | ||
160 | call s:h("ErrorMsg", {"fg": s:pink}) | ||
161 | call s:h("IncSearch", {"bg": s:selection, "fg": s:black}) | ||
162 | call s:h("Search", {"bg": s:selection, "fg": s:black}) | ||
163 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) | ||
164 | hi! link ModeMsg MoreMsg | ||
165 | call s:h("LineNr", {"fg": s:medium_gray}) | ||
166 | call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) | ||
167 | call s:h("Question", {"fg": s:red}) | ||
168 | call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle}) | ||
169 | call s:h("Title", {"fg": s:dark_green}) | ||
170 | call s:h("Visual", {"bg": s:visual}) | ||
171 | call s:h("VisualNOS", {"bg": s:bg_subtle}) | ||
172 | call s:h("WarningMsg", {"fg": s:warning}) | ||
173 | call s:h("WildMenu", {"fg": s:white, "bg": s:bg}) | ||
174 | call s:h("Folded", {"fg": s:medium_gray}) | ||
175 | call s:h("FoldColumn", {"fg": s:bg_subtle}) | ||
176 | call s:h("DiffAdd", {"fg": s:green}) | ||
177 | call s:h("DiffDelete", {"fg": s:red}) | ||
178 | call s:h("DiffChange", {"fg": s:dark_yellow}) | ||
179 | call s:h("DiffText", {"fg": s:dark_green}) | ||
180 | call s:h("SignColumn", {"fg": s:medium_gray}) | ||
181 | |||
182 | if has("gui_running") | ||
183 | call s:h("SpellBad", {"gui": "underline", "sp": s:red}) | ||
184 | call s:h("SpellCap", {"gui": "underline", "sp": s:light_green}) | ||
185 | call s:h("SpellRare", {"gui": "underline", "sp": s:pink}) | ||
186 | call s:h("SpellLocal", {"gui": "underline", "sp": s:dark_green}) | ||
187 | else | ||
188 | call s:h("SpellBad", {"cterm": "underline", "fg": s:red}) | ||
189 | call s:h("SpellCap", {"cterm": "underline", "fg": s:light_green}) | ||
190 | call s:h("SpellRare", {"cterm": "underline", "fg": s:pink}) | ||
191 | call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green}) | ||
192 | endif | ||
193 | |||
194 | """ Help | ||
195 | hi link helpHyperTextEntry Title | ||
196 | hi link helpHyperTextJump String | ||
197 | |||
198 | """ StatusLine | ||
199 | |||
200 | call s:h("StatusLine", {"bg": s:bg, "fg": s:status_line}) | ||
201 | call s:h("StatusLineNC", {"bg": s:bg, "fg": s:status_line_nc}) | ||
202 | |||
203 | " Those are not standard but are useful to emphasis different parts of the | ||
204 | " status line. | ||
205 | call s:h("StatusLineOk", {"gui": "underline", "bg": s:bg, "fg": s:green}) | ||
206 | call s:h("StatusLineError", {"gui": "underline", "bg": s:bg, "fg": s:pink}) | ||
207 | call s:h("StatusLineWarning", {"gui": "underline", "bg": s:bg, "fg": s:warning}) | ||
208 | |||
209 | call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_very_subtle}) | ||
210 | call s:h("PmenuSel", {"fg": s:green, "bg": s:bg_very_subtle, "gui": "bold"}) | ||
211 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) | ||
212 | call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) | ||
213 | call s:h("TabLine", {"fg": s:norm_subtle, "bg": s:bg}) | ||
214 | call s:h("TabLineSel", {"fg": s:norm, "bg": s:bg, "gui": "bold", "cterm": "bold"}) | ||
215 | call s:h("TabLineFill", {"fg": s:norm_subtle, "bg": s:bg}) | ||
216 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) | ||
217 | call s:h("CursorLine", {"bg": s:cursor_line}) | ||
218 | call s:h("ColorColumn", {"bg": s:bg_subtle}) | ||
219 | |||
220 | call s:h("MatchParen", {"bg": s:bg_very_subtle, "fg": s:norm}) | ||
221 | call s:h("qfLineNr", {"fg": s:medium_gray}) | ||
222 | |||
223 | call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) | ||
224 | call s:h("htmlH2", {"bg": s:bg, "fg": s:norm}) | ||
225 | call s:h("htmlH3", {"bg": s:bg, "fg": s:norm}) | ||
226 | call s:h("htmlH4", {"bg": s:bg, "fg": s:norm}) | ||
227 | call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) | ||
228 | call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) | ||
229 | |||
230 | call s:h("htmlBold", {"bg": s:bg, "fg": s:norm}) | ||
231 | call s:h("htmlItalic", {"bg": s:bg, "fg": s:norm}) | ||
232 | call s:h("htmlEndTag", {"bg": s:bg, "fg": s:norm}) | ||
233 | call s:h("htmlTag", {"bg": s:bg, "fg": s:norm}) | ||
234 | call s:h("htmlTagName", {"bg": s:bg, "fg": s:norm}) | ||
235 | call s:h("htmlArg", {"bg": s:bg, "fg": s:norm}) | ||
236 | call s:h("htmlError", {"bg": s:bg, "fg": s:red}) | ||
237 | |||
238 | " JavaScript highlighting | ||
239 | " | ||
240 | call s:h("javaScript", {"bg": s:bg, "fg": s:norm}) | ||
241 | call s:h("javaScriptBraces", {"bg": s:bg, "fg": s:norm}) | ||
242 | call s:h("javaScriptNumber", {"bg": s:bg, "fg": s:green}) | ||
243 | |||
244 | hi link diffRemoved DiffDelete | ||
245 | hi link diffAdded DiffAdd | ||
246 | |||
247 | " Signify, git-gutter | ||
248 | hi link SignifySignAdd LineNr | ||
249 | hi link SignifySignDelete LineNr | ||
250 | hi link SignifySignChange LineNr | ||
251 | hi link GitGutterAdd LineNr | ||
252 | hi link GitGutterDelete LineNr | ||
253 | hi link GitGutterChange LineNr | ||
254 | hi link GitGutterChangeDelete LineNr | ||
255 | |||
256 | hi link jsFlowTypeKeyword Statement | ||
257 | hi link jsFlowImportType Statement | ||
258 | hi link jsFunction Function | ||
259 | hi link jsGlobalObjects Noise | ||
260 | hi link jsGlobalNodeObjects Normal | ||
261 | hi link jsSwitchCase Constant | ||
262 | |||
263 | call s:h("jsSpreadOperator ", {"bg": s:bg, "fg": s:selection}) | ||
264 | hi link jsReturn jsSpreadOperator | ||
265 | hi link jsExport jsSpreadOperator | ||
266 | |||
267 | call s:h("rustModPath ", {"bg": s:bg, "fg": s:lightest_gray}) | ||
268 | hi link rustMacro secondAccent | ||
269 | hi link rustKeyword Noise | ||
270 | hi link rustDerive secondAccent | ||
271 | hi link rustDeriveTrait secondAccent | ||
272 | hi link rustAttribute secondAccent | ||
273 | hi link rustLifetime secondAccent | ||
274 | |||
275 | hi link schemeSyntax Normal | ||
276 | hi link schemeParentheses Noise | ||
277 | hi link schemeIdentifier Noise | ||
278 | |||
279 | hi link haskellType secondAccent | ||
280 | hi link elmType secondAccent | ||
281 | |||
282 | hi link shCommandSub secondAccent | ||
283 | |||
284 | hi link cFormat secondAccent | ||
285 | |||
286 | hi link nixBuiltin secondAccent | ||
287 | hi link nixNamespacedBuiltin secondAccent | ||
288 | |||
289 | hi link sqlSpecial firstAccent | ||
290 | hi link sqlKeyword secondAccent | ||
291 | |||
292 | hi link StorageClass Statement | ||
293 | |||
294 | call s:h("xmlTag", {"bg": s:bg, "fg": s:constant}) | ||
295 | hi link xmlTagName xmlTag | ||
296 | hi link xmlEndTag xmlTag | ||
297 | hi link xmlAttrib xmlTag | ||
298 | |||
299 | hi link markdownH1 Statement | ||
300 | hi link markdownH2 Statement | ||
301 | hi link markdownH3 Statement | ||
302 | hi link markdownH4 Statement | ||
303 | hi link markdownH5 Statement | ||
304 | hi link markdownH6 Statement | ||
305 | hi link markdownListMarker Constant | ||
306 | hi link markdownCode Constant | ||
307 | hi link markdownCodeBlock Constant | ||
308 | hi link markdownCodeDelimiter Constant | ||
309 | hi link markdownHeadingDelimiter Constant | ||
310 | |||
311 | call s:h("cssBraces", {"bg": s:bg, "fg": s:selection}) | ||
312 | hi link cssTextProp Noise | ||
313 | hi link cssTagName Normal | ||
diff --git a/nvim/.config/nvim/colors/noirblaze.vim b/nvim/.config/nvim/colors/noirblaze.vim new file mode 100644 index 0000000..d7279e9 --- /dev/null +++ b/nvim/.config/nvim/colors/noirblaze.vim | |||
@@ -0,0 +1,243 @@ | |||
1 | " Assumes background=dark | ||
2 | " let gray_900 = "#121212" | ||
3 | let gray_900 = "0" | ||
4 | let gray_800 = "#323232" | ||
5 | let gray_700 = "#535353" | ||
6 | let gray_600 = "#737373" | ||
7 | let gray_500 = "#949494" | ||
8 | let gray_450 = "#a7a7a7" | ||
9 | let gray_400 = "#b4b4b4" | ||
10 | let gray_300 = "#d5d5d5" | ||
11 | let gray_200 = "#f5f5f5" | ||
12 | |||
13 | let zinc_gray_900 = "#212121" | ||
14 | let zinc_gray_600 = "#7a7a7a" | ||
15 | let zinc_gray_500 = "#787878" | ||
16 | let zinc_gray_200 = "#b0b0b0" | ||
17 | |||
18 | let hot_pink = "#ff0088" | ||
19 | let white = "#ffffff" | ||
20 | |||
21 | let cterm_gray_900 = 233 | ||
22 | let cterm_gray_800 = 239 | ||
23 | let cterm_gray_700 = 243 | ||
24 | let cterm_gray_600 = 246 | ||
25 | let cterm_gray_500 = 249 | ||
26 | let cterm_gray_400 = 252 | ||
27 | |||
28 | let cterm_zinc_gray_900 = 59 " zinc_gray_900 | ||
29 | |||
30 | let cterm_hot_pink = 198 | ||
31 | let cterm_white = 231 " white | ||
32 | |||
33 | highlight clear | ||
34 | syntax reset | ||
35 | let g:colors_name = "noirblaze" | ||
36 | |||
37 | exec "hi Normal ctermfg=".cterm_gray_400." ctermbg=".cterm_gray_900 | ||
38 | exec "hi Normal guifg=".gray_400." guibg=".gray_900 | ||
39 | |||
40 | " Default | ||
41 | exec "hi Comment guifg=".gray_700 | ||
42 | exec "hi Comment ctermfg=".cterm_gray_800 | ||
43 | exec "hi Constant guifg=".hot_pink | ||
44 | exec "hi Constant ctermfg=".cterm_hot_pink | ||
45 | exec "hi Character guifg=".zinc_gray_500 | ||
46 | exec "hi Character ctermfg=".cterm_gray_700 | ||
47 | exec "hi Identifier guifg=".white." gui=none" | ||
48 | exec "hi Identifier ctermfg=".cterm_white." cterm=none" | ||
49 | exec "hi Statement guifg=".zinc_gray_200 | ||
50 | exec "hi Statement ctermfg=".cterm_gray_500 | ||
51 | exec "hi PreProc guifg=".hot_pink | ||
52 | exec "hi PreProc ctermfg=".cterm_hot_pink | ||
53 | exec "hi Type guifg=".zinc_gray_600 | ||
54 | exec "hi Type ctermfg=".cterm_gray_700 | ||
55 | exec "hi Special guifg=".zinc_gray_500 | ||
56 | exec "hi Special ctermfg=".cterm_gray_700 | ||
57 | exec "hi Underlined guifg=".zinc_gray_200 | ||
58 | exec "hi Underlined ctermfg=".cterm_gray_500 | ||
59 | exec "hi Error guifg=".hot_pink." guibg=".gray_800 | ||
60 | exec "hi Error ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
61 | exec "hi Todo guifg=".hot_pink." guibg=".gray_800 | ||
62 | exec "hi Todo ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
63 | exec "hi Function guifg=".hot_pink | ||
64 | exec "hi Function ctermfg=".cterm_hot_pink | ||
65 | |||
66 | " GitGutter | ||
67 | exec "hi GitGutterAdd guifg=".hot_pink | ||
68 | exec "hi GitGutterAdd ctermfg=".cterm_hot_pink | ||
69 | exec "hi GitGutterChange guifg=".white | ||
70 | exec "hi GitGutterChange ctermfg=".cterm_white | ||
71 | exec "hi GitGutterChangeDelete guifg=".white | ||
72 | exec "hi GitGutterChangeDelete ctermfg=".cterm_white | ||
73 | exec "hi GitGutterDelete guifg=".hot_pink | ||
74 | exec "hi GitGutterDelete ctermfg=".cterm_hot_pink | ||
75 | |||
76 | " fugitive | ||
77 | exec "hi gitcommitComment guifg=".gray_600 | ||
78 | exec "hi gitcommitComment ctermfg=".cterm_gray_700 | ||
79 | exec "hi gitcommitOnBranch guifg=".gray_600 | ||
80 | exec "hi gitcommitOnBranch ctermfg=".cterm_gray_700 | ||
81 | exec "hi gitcommitHeader guifg=".gray_400 | ||
82 | exec "hi gitcommitHeader ctermfg=".cterm_gray_500 | ||
83 | exec "hi gitcommitHead guifg=".gray_600 | ||
84 | exec "hi gitcommitHead ctermfg=".cterm_gray_700 | ||
85 | exec "hi gitcommitSelectedType guifg=".hot_pink | ||
86 | exec "hi gitcommitSelectedType ctermfg=".cterm_hot_pink | ||
87 | exec "hi gitcommitSelectedFile guifg=".hot_pink | ||
88 | exec "hi gitcommitSelectedFile ctermfg=".cterm_hot_pink | ||
89 | exec "hi gitcommitDiscardedType guifg=".white | ||
90 | exec "hi gitcommitDiscardedType ctermfg=".cterm_white | ||
91 | exec "hi gitcommitDiscardedFile guifg=".white | ||
92 | exec "hi gitcommitDiscardedFile ctermfg=".cterm_white | ||
93 | exec "hi gitcommitUntrackedFile guifg=".hot_pink | ||
94 | exec "hi gitcommitUntrackedFile ctermfg=".cterm_hot_pink | ||
95 | |||
96 | " Default | ||
97 | exec "hi ColorColumn guibg=".gray_800 | ||
98 | exec "hi ColorColumn ctermbg=".cterm_zinc_gray_900 | ||
99 | exec "hi Conceal guifg=".gray_700 | ||
100 | exec "hi Conceal ctermfg=".cterm_gray_800 | ||
101 | exec "hi Cursor guifg=".gray_900 | ||
102 | exec "hi Cursor ctermfg=".cterm_gray_900 | ||
103 | exec "hi CursorColumn guibg=".gray_800 | ||
104 | exec "hi CursorColumn ctermbg=".cterm_zinc_gray_900 | ||
105 | exec "hi CursorLine guibg=".zinc_gray_900 | ||
106 | exec "hi CursorLine ctermbg=".cterm_zinc_gray_900." cterm=none" | ||
107 | exec "hi Directory guifg=".zinc_gray_200 | ||
108 | exec "hi Directory ctermfg=".cterm_gray_500 | ||
109 | exec "hi DiffAdd guifg=".hot_pink." guibg=".gray_800 | ||
110 | exec "hi DiffAdd ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
111 | exec "hi DiffChange guifg=".white." guibg=".gray_800 | ||
112 | exec "hi DiffChange ctermfg=".cterm_white." ctermbg=".cterm_zinc_gray_900 | ||
113 | exec "hi DiffDelete guifg=".hot_pink." guibg=".gray_800 | ||
114 | exec "hi DiffDelete ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
115 | exec "hi DiffText guifg=".white." guibg=".gray_700 | ||
116 | exec "hi DiffText ctermfg=".cterm_white." ctermbg=".cterm_gray_800 | ||
117 | exec "hi ErrorMsg guifg=".gray_200." guibg=".hot_pink | ||
118 | exec "hi ErrorMsg ctermfg=".cterm_white." ctermbg=".cterm_hot_pink | ||
119 | exec "hi VertSplit guifg=".gray_900." guibg=".zinc_gray_900 | ||
120 | exec "hi VertSplit ctermfg=".cterm_gray_900." ctermbg=".cterm_gray_700 | ||
121 | exec "hi Folded guifg=".gray_500." guibg=".gray_800 | ||
122 | exec "hi Folded ctermfg=".cterm_gray_600." ctermbg=".cterm_zinc_gray_900 | ||
123 | exec "hi FoldColumn guifg=".gray_500." guibg=".gray_800 | ||
124 | exec "hi FoldColumn ctermfg=".cterm_gray_600." ctermbg=".cterm_zinc_gray_900 | ||
125 | exec "hi SignColumn guibg=".gray_900 | ||
126 | exec "hi SignColumn ctermbg=".cterm_gray_900 | ||
127 | exec "hi IncSearch guifg=".gray_900." guibg=".white | ||
128 | exec "hi IncSearch ctermfg=".cterm_gray_900." ctermbg=".cterm_white | ||
129 | exec "hi LineNr guifg=".gray_800." guibg=".gray_900 | ||
130 | exec "hi LineNr ctermfg=".cterm_zinc_gray_900." ctermbg=".cterm_gray_900 | ||
131 | exec "hi CursorLineNr guifg=".gray_600." guibg=".gray_800 | ||
132 | exec "hi CursorLineNr ctermfg=".cterm_gray_700." ctermbg=".cterm_zinc_gray_900 | ||
133 | exec "hi MatchParen guibg=".gray_700 | ||
134 | exec "hi MatchParen ctermbg=".cterm_gray_800 | ||
135 | exec "hi MoreMsg guifg=".gray_900." guibg=".zinc_gray_500 | ||
136 | exec "hi MoreMsg ctermfg=".cterm_gray_900." ctermbg=".cterm_gray_700 | ||
137 | exec "hi NonText guifg=".gray_800." guibg=".gray_900 | ||
138 | exec "hi NonText ctermfg=".cterm_zinc_gray_900." ctermbg=".cterm_gray_900 | ||
139 | exec "hi Pmenu guifg=".gray_300." guibg=".gray_800 | ||
140 | exec "hi Pmenu ctermfg=".cterm_gray_400." ctermbg=".cterm_zinc_gray_900 | ||
141 | exec "hi PmenuSel guifg=".zinc_gray_500." guibg=".gray_800 | ||
142 | exec "hi PmenuSel ctermfg=".cterm_gray_700." ctermbg=".cterm_zinc_gray_900 | ||
143 | exec "hi PmenuSbar guifg=".hot_pink." guibg=".gray_800 | ||
144 | exec "hi PmenuSbar ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
145 | exec "hi PmenuThumb guifg=".hot_pink." guibg=".gray_700 | ||
146 | exec "hi PmenuThumb ctermfg=".cterm_hot_pink." ctermbg=".cterm_gray_800 | ||
147 | exec "hi Question guifg=".gray_200." guibg=".gray_800 | ||
148 | exec "hi Question ctermfg=".cterm_white." ctermbg=".cterm_zinc_gray_900 | ||
149 | exec "hi Search guifg=".gray_900." guibg=".white | ||
150 | exec "hi Search ctermfg=".cterm_gray_900." ctermbg=".cterm_white | ||
151 | exec "hi SpecialKey guifg=".zinc_gray_600." guibg=".gray_900 | ||
152 | exec "hi SpecialKey ctermfg=".cterm_gray_700." ctermbg=".cterm_gray_900 | ||
153 | exec "hi SpellBad guifg=".hot_pink | ||
154 | exec "hi SpellBad ctermfg=".cterm_hot_pink." ctermbg=NONE cterm=undercurl" | ||
155 | exec "hi SpellCap guifg=".white | ||
156 | exec "hi SpellCap ctermfg=".cterm_white." ctermbg=NONE cterm=undercurl" | ||
157 | exec "hi SpellLocal guifg=".zinc_gray_500 | ||
158 | exec "hi SpellLocal ctermfg=".cterm_gray_700 | ||
159 | exec "hi SpellRare guifg=".hot_pink | ||
160 | exec "hi SpellRare ctermfg=".cterm_hot_pink | ||
161 | exec "hi StatusLine guifg=".gray_500." guibg=".gray_800." gui=none" | ||
162 | exec "hi StatusLine ctermfg=".cterm_gray_600." ctermbg=".cterm_zinc_gray_900." cterm=none" | ||
163 | exec "hi TabLine guifg=".gray_400." guibg=".gray_800 | ||
164 | exec "hi TabLine ctermfg=".cterm_gray_500." ctermbg=".cterm_zinc_gray_900 | ||
165 | exec "hi TabLineFill guibg=".gray_800 | ||
166 | exec "hi TabLineFill ctermbg=".cterm_zinc_gray_900 | ||
167 | exec "hi TabLineSel guifg=".gray_300." guibg=".gray_900 | ||
168 | exec "hi TabLineSel ctermfg=".cterm_gray_400." ctermbg=".cterm_gray_900 | ||
169 | exec "hi Title guifg=".zinc_gray_200 | ||
170 | exec "hi Title ctermfg=".cterm_gray_500 | ||
171 | exec "hi Visual guibg=".gray_800 | ||
172 | exec "hi Visual ctermbg=".cterm_zinc_gray_900 | ||
173 | exec "hi VisualNOS guifg=".hot_pink." guibg=".gray_800 | ||
174 | exec "hi VisualNOS ctermfg=".cterm_hot_pink." ctermbg=".cterm_zinc_gray_900 | ||
175 | exec "hi WarningMsg guifg=".hot_pink | ||
176 | exec "hi WarningMsg ctermfg=".cterm_hot_pink | ||
177 | exec "hi WildMenu guifg=".zinc_gray_500." guibg=".gray_800 | ||
178 | exec "hi WildMenu ctermfg=".cterm_gray_700." ctermbg=".cterm_zinc_gray_900 | ||
179 | |||
180 | " NERDTree | ||
181 | exec "hi NERDTreeExecFile guifg=".zinc_gray_500 | ||
182 | exec "hi NERDTreeExecFile ctermfg=".cterm_gray_700 | ||
183 | exec "hi NERDTreeDirSlash guifg=".zinc_gray_200 | ||
184 | exec "hi NERDTreeDirSlash ctermfg=".cterm_gray_500 | ||
185 | exec "hi NERDTreeCWD guifg=".hot_pink | ||
186 | exec "hi NERDTreeCWD ctermfg=".cterm_hot_pink | ||
187 | |||
188 | " nvim-tree | ||
189 | exec "hi NvimTreeExecFile guifg=".zinc_gray_500 | ||
190 | exec "hi NvimTreeExecFile ctermfg=".cterm_gray_700 | ||
191 | exec "hi NvimTreeFolderIcon guifg=".hot_pink | ||
192 | exec "hi NvimTreeIndentMarker guifg=".gray_300 | ||
193 | exec "hi NvimTreeRootFolder guifg=".zinc_gray_500 | ||
194 | |||
195 | " nvim-treesitter (backwards compatible for users of older nvim-treesitter versions) | ||
196 | exec "hi TSInclude guifg=".gray_600 | ||
197 | exec "hi TSKeyword guifg=".gray_500 | ||
198 | exec "hi TSVariable guifg=".gray_300 | ||
199 | exec "hi TSPunctDelimiter guifg=".gray_600 | ||
200 | exec "hi TSPunctSpecial guifg=".hot_pink | ||
201 | "exec "hi TSPunctBracket guifg=".gray_600 | ||
202 | exec "hi TSTypeBuiltin guifg=".gray_600 | ||
203 | exec "hi TSTag guifg=".gray_600 | ||
204 | "exec "hi TSTagDelimiter guifg=".gray_400 | ||
205 | exec "hi TSConstructor guifg=".gray_200 | ||
206 | exec "hi TSProperty guifg=".gray_300 | ||
207 | exec "hi TSMethod guifg=".gray_200 | ||
208 | exec "hi TSKeywordReturn guifg=".white | ||
209 | exec "hi TSKeywordFunction guifg=".gray_500 | ||
210 | exec "hi TSFunction guifg=".white | ||
211 | exec "hi TSNone guifg=".gray_400 | ||
212 | "exec "hi TSType guifg=".gray_400 | ||
213 | |||
214 | " nvim-treesitter new tags (won't work with older version of neovim) | ||
215 | if has('nvim-0.8') | ||
216 | exec "hi @include guifg=".gray_600 | ||
217 | exec "hi @keyword guifg=".gray_500 | ||
218 | exec "hi @variable guifg=".gray_300 | ||
219 | exec "hi @punctuation.delimiter guifg=".gray_600 | ||
220 | exec "hi @punctuation.special guifg=".hot_pink | ||
221 | "exec "hi @punctuation.bracket guifg=".gray_600 | ||
222 | exec "hi @type.builtin guifg=".gray_600 | ||
223 | exec "hi @tag guifg=".gray_600 | ||
224 | exec "hi @tag.attribute guifg=".gray_450 | ||
225 | "exec "hi @tag.delimiter guifg=".gray_400 | ||
226 | exec "hi @constructor guifg=".gray_200 | ||
227 | exec "hi @property guifg=".gray_300 | ||
228 | exec "hi @method guifg=".gray_200 | ||
229 | exec "hi @keyword.return guifg=".white | ||
230 | exec "hi @keyword.function guifg=".gray_500 | ||
231 | exec "hi @function guifg=".white | ||
232 | exec "hi @none guifg=".gray_400 | ||
233 | "exec "hi @type guifg=".gray_400 | ||
234 | endif | ||
235 | |||
236 | " DevIcons (all the same color) -> TODO: Doesn't seem to work, needs testing | ||
237 | for hl in getcompletion("DevIcon", "highlight") | ||
238 | execute "hi ".hl." guifg=".gray_500." ctermfg=".cterm_gray_500 | ||
239 | endfor | ||
240 | |||
241 | " Clean up | ||
242 | unlet gray_900 gray_800 gray_700 gray_600 gray_500 gray_450 gray_400 gray_300 gray_200 hot_pink white zinc_gray_500 zinc_gray_200 zinc_gray_600 | ||
243 | unlet cterm_gray_900 cterm_zinc_gray_900 cterm_gray_800 cterm_gray_700 cterm_gray_600 cterm_gray_500 cterm_gray_400 cterm_white cterm_hot_pink | ||
diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 47328dc..834fab2 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua | |||
@@ -11,9 +11,9 @@ return require('packer').startup(function(use) | |||
11 | 'VonHeikemen/lsp-zero.nvim', | 11 | 'VonHeikemen/lsp-zero.nvim', |
12 | requires = { | 12 | requires = { |
13 | -- LSP Support | 13 | -- LSP Support |
14 | {'neovim/nvim-lspconfig'}, | ||
15 | {'williamboman/mason.nvim'}, | 14 | {'williamboman/mason.nvim'}, |
16 | {'williamboman/mason-lspconfig.nvim'}, | 15 | {'williamboman/mason-lspconfig.nvim'}, |
16 | {'neovim/nvim-lspconfig'}, | ||
17 | 17 | ||
18 | -- Autocompletion | 18 | -- Autocompletion |
19 | {'hrsh7th/nvim-cmp'}, | 19 | {'hrsh7th/nvim-cmp'}, |
diff --git a/nvim/.config/nvim/lua/set.lua b/nvim/.config/nvim/lua/set.lua index 923eb9a..8ea974e 100644 --- a/nvim/.config/nvim/lua/set.lua +++ b/nvim/.config/nvim/lua/set.lua | |||
@@ -35,7 +35,7 @@ vim.opt.smartcase = true | |||
35 | vim.opt.wildmenu = true | 35 | vim.opt.wildmenu = true |
36 | vim.opt.autoread = true | 36 | vim.opt.autoread = true |
37 | 37 | ||
38 | vim.cmd('colorscheme plain') | 38 | vim.cmd('colorscheme noirblaze') |
39 | 39 | ||
40 | -- gitgutter options | 40 | -- gitgutter options |
41 | vim.g.gitgutter_override_sign_column_highlight = 0 | 41 | vim.g.gitgutter_override_sign_column_highlight = 0 |
diff --git a/nvim/.config/nvim/lua/statusline/line.lua b/nvim/.config/nvim/lua/statusline/line.lua index f70c2f8..64bc493 100644 --- a/nvim/.config/nvim/lua/statusline/line.lua +++ b/nvim/.config/nvim/lua/statusline/line.lua | |||
@@ -19,7 +19,7 @@ function M.statusline() | |||
19 | '%#Blanks#', | 19 | '%#Blanks#', |
20 | '%m', | 20 | '%m', |
21 | '%#SecondaryBlock#', | 21 | '%#SecondaryBlock#', |
22 | ' '..git.git_branch, | 22 | -- ' '..git.git_branch, |
23 | '%=', | 23 | '%=', |
24 | '%#SecondaryBlock#', | 24 | '%#SecondaryBlock#', |
25 | '%l,%c ', | 25 | '%l,%c ', |
diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index 9d2bf07..ab63d42 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua | |||
@@ -49,8 +49,8 @@ local function save_profiles(threshold) | |||
49 | end | 49 | end |
50 | 50 | ||
51 | time([[Luarocks path setup]], true) | 51 | time([[Luarocks path setup]], true) |
52 | local package_path_str = "/var/home/shubh/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/var/home/shubh/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/var/home/shubh/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/var/home/shubh/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" | 52 | local package_path_str = "/Users/shubh/.cache/nvim/packer_hererocks/2.1.1713773202/share/lua/5.1/?.lua;/Users/shubh/.cache/nvim/packer_hererocks/2.1.1713773202/share/lua/5.1/?/init.lua;/Users/shubh/.cache/nvim/packer_hererocks/2.1.1713773202/lib/luarocks/rocks-5.1/?.lua;/Users/shubh/.cache/nvim/packer_hererocks/2.1.1713773202/lib/luarocks/rocks-5.1/?/init.lua" |
53 | local install_cpath_pattern = "/var/home/shubh/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" | 53 | local install_cpath_pattern = "/Users/shubh/.cache/nvim/packer_hererocks/2.1.1713773202/lib/lua/5.1/?.so" |
54 | if not string.find(package.path, package_path_str, 1, true) then | 54 | if not string.find(package.path, package_path_str, 1, true) then |
55 | package.path = package.path .. ';' .. package_path_str | 55 | package.path = package.path .. ';' .. package_path_str |
56 | end | 56 | end |
@@ -76,98 +76,103 @@ time([[Defining packer_plugins]], true) | |||
76 | _G.packer_plugins = { | 76 | _G.packer_plugins = { |
77 | LuaSnip = { | 77 | LuaSnip = { |
78 | loaded = true, | 78 | loaded = true, |
79 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/LuaSnip", | 79 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/LuaSnip", |
80 | url = "https://github.com/L3MON4D3/LuaSnip" | 80 | url = "https://github.com/L3MON4D3/LuaSnip" |
81 | }, | 81 | }, |
82 | ["cmp-buffer"] = { | 82 | ["cmp-buffer"] = { |
83 | loaded = true, | 83 | loaded = true, |
84 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/cmp-buffer", | 84 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/cmp-buffer", |
85 | url = "https://github.com/hrsh7th/cmp-buffer" | 85 | url = "https://github.com/hrsh7th/cmp-buffer" |
86 | }, | 86 | }, |
87 | ["cmp-nvim-lsp"] = { | 87 | ["cmp-nvim-lsp"] = { |
88 | loaded = true, | 88 | loaded = true, |
89 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", | 89 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", |
90 | url = "https://github.com/hrsh7th/cmp-nvim-lsp" | 90 | url = "https://github.com/hrsh7th/cmp-nvim-lsp" |
91 | }, | 91 | }, |
92 | ["cmp-nvim-lua"] = { | 92 | ["cmp-nvim-lua"] = { |
93 | loaded = true, | 93 | loaded = true, |
94 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", | 94 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", |
95 | url = "https://github.com/hrsh7th/cmp-nvim-lua" | 95 | url = "https://github.com/hrsh7th/cmp-nvim-lua" |
96 | }, | 96 | }, |
97 | ["cmp-path"] = { | 97 | ["cmp-path"] = { |
98 | loaded = true, | 98 | loaded = true, |
99 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/cmp-path", | 99 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/cmp-path", |
100 | url = "https://github.com/hrsh7th/cmp-path" | 100 | url = "https://github.com/hrsh7th/cmp-path" |
101 | }, | 101 | }, |
102 | cmp_luasnip = { | 102 | cmp_luasnip = { |
103 | loaded = true, | 103 | loaded = true, |
104 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/cmp_luasnip", | 104 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/cmp_luasnip", |
105 | url = "https://github.com/saadparwaiz1/cmp_luasnip" | 105 | url = "https://github.com/saadparwaiz1/cmp_luasnip" |
106 | }, | 106 | }, |
107 | ["friendly-snippets"] = { | 107 | ["friendly-snippets"] = { |
108 | loaded = true, | 108 | loaded = true, |
109 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/friendly-snippets", | 109 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/friendly-snippets", |
110 | url = "https://github.com/rafamadriz/friendly-snippets" | 110 | url = "https://github.com/rafamadriz/friendly-snippets" |
111 | }, | 111 | }, |
112 | fzf = { | 112 | fzf = { |
113 | loaded = true, | 113 | loaded = true, |
114 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/fzf", | 114 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/fzf", |
115 | url = "https://github.com/junegunn/fzf" | 115 | url = "https://github.com/junegunn/fzf" |
116 | }, | 116 | }, |
117 | ["lsp-zero.nvim"] = { | 117 | ["lsp-zero.nvim"] = { |
118 | loaded = true, | 118 | loaded = true, |
119 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", | 119 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/lsp-zero.nvim", |
120 | url = "https://github.com/VonHeikemen/lsp-zero.nvim" | 120 | url = "https://github.com/VonHeikemen/lsp-zero.nvim" |
121 | }, | 121 | }, |
122 | ["mason-lspconfig.nvim"] = { | 122 | ["mason-lspconfig.nvim"] = { |
123 | loaded = true, | 123 | loaded = true, |
124 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", | 124 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", |
125 | url = "https://github.com/williamboman/mason-lspconfig.nvim" | 125 | url = "https://github.com/williamboman/mason-lspconfig.nvim" |
126 | }, | 126 | }, |
127 | ["mason.nvim"] = { | 127 | ["mason.nvim"] = { |
128 | loaded = true, | 128 | loaded = true, |
129 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/mason.nvim", | 129 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/mason.nvim", |
130 | url = "https://github.com/williamboman/mason.nvim" | 130 | url = "https://github.com/williamboman/mason.nvim" |
131 | }, | 131 | }, |
132 | ["nvim-autopairs"] = { | 132 | ["nvim-autopairs"] = { |
133 | config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" }, | 133 | config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" }, |
134 | loaded = true, | 134 | loaded = true, |
135 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/nvim-autopairs", | 135 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/nvim-autopairs", |
136 | url = "https://github.com/windwp/nvim-autopairs" | 136 | url = "https://github.com/windwp/nvim-autopairs" |
137 | }, | 137 | }, |
138 | ["nvim-cmp"] = { | 138 | ["nvim-cmp"] = { |
139 | loaded = true, | 139 | loaded = true, |
140 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/nvim-cmp", | 140 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/nvim-cmp", |
141 | url = "https://github.com/hrsh7th/nvim-cmp" | 141 | url = "https://github.com/hrsh7th/nvim-cmp" |
142 | }, | 142 | }, |
143 | ["nvim-lspconfig"] = { | 143 | ["nvim-lspconfig"] = { |
144 | loaded = true, | 144 | loaded = true, |
145 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", | 145 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", |
146 | url = "https://github.com/neovim/nvim-lspconfig" | 146 | url = "https://github.com/neovim/nvim-lspconfig" |
147 | }, | 147 | }, |
148 | ["nvim-treesitter"] = { | 148 | ["nvim-treesitter"] = { |
149 | loaded = true, | 149 | loaded = true, |
150 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/nvim-treesitter", | 150 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/nvim-treesitter", |
151 | url = "https://github.com/nvim-treesitter/nvim-treesitter" | 151 | url = "https://github.com/nvim-treesitter/nvim-treesitter" |
152 | }, | 152 | }, |
153 | ["packer.nvim"] = { | 153 | ["packer.nvim"] = { |
154 | loaded = true, | 154 | loaded = true, |
155 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/packer.nvim", | 155 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/packer.nvim", |
156 | url = "https://github.com/wbthomason/packer.nvim" | 156 | url = "https://github.com/wbthomason/packer.nvim" |
157 | }, | 157 | }, |
158 | ["vim-bujo"] = { | 158 | ["vim-bujo"] = { |
159 | loaded = true, | 159 | loaded = true, |
160 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/vim-bujo", | 160 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/vim-bujo", |
161 | url = "https://github.com/sh-ubh/vim-bujo" | 161 | url = "https://github.com/sh-ubh/vim-bujo" |
162 | }, | 162 | }, |
163 | ["vim-commentary"] = { | 163 | ["vim-commentary"] = { |
164 | loaded = true, | 164 | loaded = true, |
165 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/vim-commentary", | 165 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/vim-commentary", |
166 | url = "https://github.com/tpope/vim-commentary" | 166 | url = "https://github.com/tpope/vim-commentary" |
167 | }, | 167 | }, |
168 | ["vim-fugitive"] = { | ||
169 | loaded = true, | ||
170 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/vim-fugitive", | ||
171 | url = "https://github.com/tpope/vim-fugitive" | ||
172 | }, | ||
168 | ["vim-gitgutter"] = { | 173 | ["vim-gitgutter"] = { |
169 | loaded = true, | 174 | loaded = true, |
170 | path = "/var/home/shubh/.local/share/nvim/site/pack/packer/start/vim-gitgutter", | 175 | path = "/Users/shubh/.local/share/nvim/site/pack/packer/start/vim-gitgutter", |
171 | url = "https://github.com/airblade/vim-gitgutter" | 176 | url = "https://github.com/airblade/vim-gitgutter" |
172 | } | 177 | } |
173 | } | 178 | } |