Change theme to onedark
This commit is contained in:
parent
5c256c030c
commit
e7a913421a
3 changed files with 43 additions and 5 deletions
|
@ -50,11 +50,9 @@ in
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = base16-nvim;
|
plugin = onedark-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''
|
config = (builtins.readFile ./files/theme.lua);
|
||||||
vim.cmd.colorscheme 'base16-default-dark'
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = nvim-cmp;
|
plugin = nvim-cmp;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'base16',
|
theme = 'onedark',
|
||||||
component_separators = { left = '|', right = '|'},
|
component_separators = { left = '|', right = '|'},
|
||||||
section_separators = { left = "", right = ""},
|
section_separators = { left = "", right = ""},
|
||||||
disabled_filetypes = {},
|
disabled_filetypes = {},
|
||||||
|
|
40
modules/home-manager/cli/neovim/files/theme.lua
Normal file
40
modules/home-manager/cli/neovim/files/theme.lua
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
require('onedark').setup {
|
||||||
|
-- Main options --
|
||||||
|
style = 'darker',
|
||||||
|
transparent = false, -- Show/hide background
|
||||||
|
term_colors = true, -- Change terminal color as per the selected theme style
|
||||||
|
ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
|
||||||
|
cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu
|
||||||
|
|
||||||
|
-- toggle theme style ---
|
||||||
|
toggle_style_key = '<leader>ts',
|
||||||
|
toggle_style_list = {'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light'},
|
||||||
|
|
||||||
|
-- Change code style ---
|
||||||
|
-- Options are italic, bold, underline, none
|
||||||
|
-- You can configure multiple style with comma separated, For e.g., keywords = 'italic,bold'
|
||||||
|
code_style = {
|
||||||
|
comments = 'italic',
|
||||||
|
keywords = 'none',
|
||||||
|
functions = 'none',
|
||||||
|
strings = 'none',
|
||||||
|
variables = 'none'
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Lualine options --
|
||||||
|
lualine = {
|
||||||
|
transparent = false, -- lualine center bar transparency
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Custom Highlights --
|
||||||
|
colors = {}, -- Override default colors
|
||||||
|
highlights = {}, -- Override highlight groups
|
||||||
|
|
||||||
|
-- Plugins Config --
|
||||||
|
diagnostics = {
|
||||||
|
darker = true, -- darker colors for diagnostic
|
||||||
|
undercurl = false, -- use undercurl instead of underline for diagnostics
|
||||||
|
background = true, -- use background color for virtual text
|
||||||
|
},
|
||||||
|
}
|
||||||
|
require('onedark').load()
|
Loading…
Add table
Add a link
Reference in a new issue