refactor(nvim): simplify Neovim configuration with community plugins
This commit is contained in:
1 parent
0b9ee59ab7
commit
56485842a4
1 file changed
-64
@@ -107,72 +107,8 @@ require("inc_rename").setup {
|
|||||||
require("cyberdream").setup {
|
require("cyberdream").setup {
|
||||||
variant = "default", -- use "light" for the light variant. Also accepts "auto" to set dark or light colors based on the current value of `vim.o.background`
|
variant = "default", -- use "light" for the light variant. Also accepts "auto" to set dark or light colors based on the current value of `vim.o.background`
|
||||||
transparent = true,
|
transparent = true,
|
||||||
|
|
||||||
-- Reduce the overall saturation of colours for a more muted look
|
|
||||||
saturation = 1, -- accepts a value between 0 and 1. 0 will be fully desaturated (greyscale) and 1 will be the full color (default)
|
|
||||||
|
|
||||||
-- Enable italics comments
|
|
||||||
italic_comments = true,
|
italic_comments = true,
|
||||||
|
|
||||||
-- Replace all fillchars with ' ' for the ultimate clean look
|
|
||||||
hide_fillchars = true,
|
hide_fillchars = true,
|
||||||
|
|
||||||
-- Apply a modern borderless look to pickers like Telescope, Snacks Picker & Fzf-Lua
|
|
||||||
borderless_pickers = true,
|
borderless_pickers = true,
|
||||||
|
|
||||||
-- Set terminal colors used in `:terminal`
|
|
||||||
terminal_colors = true,
|
terminal_colors = true,
|
||||||
|
|
||||||
-- Improve start up time by caching highlights. Generate cache with :CyberdreamBuildCache and clear with :CyberdreamClearCache
|
|
||||||
cache = true,
|
|
||||||
|
|
||||||
-- Override highlight groups with your own colour values
|
|
||||||
highlights = {
|
|
||||||
-- Highlight groups to override, adding new groups is also possible
|
|
||||||
-- See `:h highlight-groups` for a list of highlight groups or run `:hi` to see all groups and their current values
|
|
||||||
|
|
||||||
-- Example:
|
|
||||||
Comment = { fg = "#696969", bg = "NONE", italic = true },
|
|
||||||
|
|
||||||
-- More examples can be found in `lua/cyberdream/extensions/*.lua`
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Override a highlight group entirely using the built-in colour palette
|
|
||||||
overrides = function(colors) -- NOTE: This function nullifies the `highlights` option
|
|
||||||
-- Example:
|
|
||||||
return {
|
|
||||||
Comment = { fg = colors.green, bg = "NONE", italic = true },
|
|
||||||
["@property"] = { fg = colors.magenta, bold = true },
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
|
|
||||||
-- Override colors
|
|
||||||
colors = {
|
|
||||||
-- For a list of colors see `lua/cyberdream/colours.lua`
|
|
||||||
|
|
||||||
-- Override colors for both light and dark variants
|
|
||||||
bg = "#000000",
|
|
||||||
green = "#00ff00",
|
|
||||||
|
|
||||||
-- If you want to override colors for light or dark variants only, use the following format:
|
|
||||||
dark = {
|
|
||||||
magenta = "#ff00ff",
|
|
||||||
fg = "#eeeeee",
|
|
||||||
},
|
|
||||||
light = {
|
|
||||||
red = "#ff5c57",
|
|
||||||
cyan = "#5ef1ff",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Disable or enable colorscheme extensions
|
|
||||||
extensions = {
|
|
||||||
telescope = true,
|
|
||||||
notify = true,
|
|
||||||
mini = true,
|
|
||||||
snacks = true,
|
|
||||||
cmp = true,
|
|
||||||
heirline = true,
|
|
||||||
...,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user