A monochrome colorscheme for Neovim.
Installing using lazy
{
"amedoeyes/eyes.nvim",
lazy = false,
priority = 1000,
opts = {},
}
Applying the colorscheme to lualine
require("lualine").setup({
options = {
theme = "eyes"
}
})
Applying the colorscheme to bufferline
require("bufferline").setup({
highlights = require("eyes.theme").bufferline,
})
Defaults
require("eyes").setup({
--autoloads the colorscheme
autoload = true,
--changes the palette of the colorscheme
--"dark" or "light"
pallete = "dark",
--toggles monochrome for these elements
toggle = {
diagnostics = true,
spell = true,
terminal = true,
plugins = {
codeium = true,
cmp = true,
dap = true,
devicons = true,
illuminate = true,
indent_blankline = true,
lazy = true,
leap = true,
mason = true,
mini_indentscope = true,
neo_tree = true,
noice = true,
notify = true,
null_ls = true,
telescope = true,
undotree = true,
},
},
--extends/overwrites highlights and palette
extend = {
highlights = {},
palette = {},
},
})
Example using lazy
{
"amedoeyes/eyes.nvim",
lazy = false,
priority = 1000,
opts = {
toggle={
diagnostics = false,
plugins = {
neo_tree = false,
illuminate = false,
}
},
extend = {
highlights = {
Normal = { bg = "#101010", fg = "#808080" },
CursorLine = { bg = "#202020" },
Type = { italic = true },
},
palette = {
hex00 = "#101010",
},
},
},
}
LSP diagnostics and hover:
local border = "rounded"
vim.diagnostic.config({
float = {
border = border,
},
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = border,
})
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = border,
})
require("noice").setup({
presets = {
lsp_doc_border = true,
}
})
require("cmp").setup({
window = {
completion = cmp.config.window.bordered({
winhighlight = "FloatBorder:FloatBorder",
}),
documentation = cmp.config.window.bordered({
winhighlight = "FloatBorder:FloatBorder",
}),
},
})
require("lazy").setup("plugins", {
ui = {
border = "rounded",
},
})
require("mason").setup({
ui = {
border = "rounded",
},
})
require("mason").setup({
border = "rounded",
})
require("toggleterm").setup({
float_opts = {
border = "rounded",
},
highlights = {
FloatBorder = {
link = "FloatBorder",
},
},
})
require("which-key").setup({
window = {
border = "rounded",
},
})