Skip to content

Commit c2f4d53

Browse files
authored
Merge pull request #3 from sashaaKr/colors_pluging
2 parents e9911c4 + 52e4271 commit c2f4d53

File tree

2 files changed

+46
-22
lines changed

2 files changed

+46
-22
lines changed

init.lua

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -881,28 +881,6 @@ require('lazy').setup({
881881
},
882882
},
883883

884-
{ -- You can easily change to a different colorscheme.
885-
-- Change the name of the colorscheme plugin below, and then
886-
-- change the command in the config to whatever the name of that colorscheme is.
887-
--
888-
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
889-
'folke/tokyonight.nvim',
890-
priority = 1000, -- Make sure to load this before all the other start plugins.
891-
config = function()
892-
---@diagnostic disable-next-line: missing-fields
893-
require('tokyonight').setup {
894-
styles = {
895-
comments = { italic = false }, -- Disable italics in comments
896-
},
897-
}
898-
899-
-- Load the colorscheme here.
900-
-- Like many other themes, this one has different styles, and you could load
901-
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
902-
vim.cmd.colorscheme 'tokyonight-night'
903-
end,
904-
},
905-
906884
-- Highlight todo, notes, etc in comments
907885
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
908886

lua/custom/plugins/colors.lua

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
return {
2+
-- { -- You can easily change to a different colorscheme.
3+
-- -- Change the name of the colorscheme plugin below, and then
4+
-- -- change the command in the config to whatever the name of that colorscheme is.
5+
-- --
6+
-- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
7+
-- 'folke/tokyonight.nvim',
8+
-- priority = 1000, -- Make sure to load this before all the other start plugins.
9+
-- config = function()
10+
-- ---@diagnostic disable-next-line: missing-fields
11+
-- require('tokyonight').setup {
12+
-- styles = {
13+
-- comments = { italic = false }, -- Disable italics in comments
14+
-- },
15+
-- }
16+
--
17+
-- -- Load the colorscheme here.
18+
-- -- Like many other themes, this one has different styles, and you could load
19+
-- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
20+
-- vim.cmd.colorscheme 'tokyonight-night'
21+
-- end,
22+
-- },
23+
{
24+
'scottmckendry/cyberdream.nvim',
25+
lazy = false,
26+
priority = 1000000,
27+
opts = {
28+
borderless_pickers = false,
29+
saturation = 0.95,
30+
cache = true,
31+
},
32+
init = function()
33+
vim.cmd 'colorscheme cyberdream'
34+
vim.api.nvim_set_hl(0, 'TroubleNormal', { bg = 'none', ctermbg = 'none' })
35+
vim.api.nvim_set_hl(0, 'TroubleNormalNC', { bg = 'none', ctermbg = 'none' })
36+
vim.api.nvim_set_hl(0, 'TroubleNormal', { bg = 'none', ctermbg = 'none' })
37+
vim.api.nvim_set_hl(0, 'TroubleNormalNC', { bg = 'none', ctermbg = 'none' })
38+
vim.api.nvim_set_hl(0, 'WinSeparator', { fg = '#3c4048', bg = 'none' })
39+
vim.api.nvim_set_hl(0, 'IndentBlanklineChar', { fg = '#7b8496' })
40+
vim.api.nvim_set_hl(0, 'TreesitterContext', { bg = '#232429' })
41+
vim.api.nvim_set_hl(0, 'TreesitterContextLineNumber', { bg = '#232429' })
42+
vim.api.nvim_set_hl(0, 'TreesitterContextBottom', { bg = '#232429', underline = true })
43+
vim.api.nvim_set_hl(0, 'CursorLineNr', { fg = '#ffffff' })
44+
end,
45+
},
46+
}

0 commit comments

Comments
 (0)