Skip to content

Commit

Permalink
feat(neovim): fully adapting cyberdream colorscheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Botond Kalocsai committed Apr 25, 2024
1 parent 4eafa69 commit 5e5cecf
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 41 deletions.
76 changes: 38 additions & 38 deletions home/dot_config/nvim/lua/config/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,42 @@ end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

require("lazy").setup({
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import any extras modules here
-- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.json" },
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
-- import/override with your plugins
{ import = "lazyvim.plugins.extras.coding.codeium" },
{ import = "lazyvim.plugins.extras.editor.harpoon2" },
{ import = "plugins" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = false,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
-- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true }, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins
disabled_plugins = {
"gzip",
-- "matchit",
-- "matchparen",
-- "netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import any extras modules here
-- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.json" },
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
-- import/override with your plugins
{ import = "lazyvim.plugins.extras.coding.codeium" },
{ import = "lazyvim.plugins.extras.editor.harpoon2" },
{ import = "plugins" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = false,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
-- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "cyberdream" } },
checker = { enabled = true }, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins
disabled_plugins = {
"gzip",
-- "matchit",
-- "matchparen",
-- "netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
4 changes: 2 additions & 2 deletions home/dot_config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ local psep = package.config:sub(1, 1) -- Directory path separator on platform
vim.opt.colorcolumn = "79"

-- Setting horizontal and vertical cursor line
vim.opt.cursorline = true
vim.opt.cursorcolumn = true
-- vim.o.cursorline = true
vim.o.cursorcolumn = true

-- Setting ergonomic nerdfont for gui usage, especially for neovim-qt
vim.opt.guifont = "OpenDyslexicM Nerd Font Mono:h10"
Expand Down
20 changes: 19 additions & 1 deletion home/dot_config/nvim/lua/plugins/colorscheme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,31 @@ return {
lazy = false,
priority = 1000,
config = function()
local colors = require("cyberdream.colors")
require("cyberdream").setup({
-- Recommended - see "Configuring" below for more config options
transparent = true,
italic_comments = true,
hide_fillchars = true,
borderless_telescope = true,
terminal_colors = true,
theme = {
highlights = {
ColorColumn = { bg = colors.default.bgAlt },
},
colors = {
bg = "#000000",
},
},
})
end,
},
{
"nvim-lualine/lualine.nvim",
config = function()
require("lualine").setup({
options = {
theme = "cyberdream",
},
})
end,
},
Expand Down

0 comments on commit 5e5cecf

Please sign in to comment.