diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-10-21 05:48:36 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-10-21 05:48:36 -0600 |
commit | bdbe1ed5ba694822ce47f3c915a70d6c3ffb4066 (patch) | |
tree | dd7ebec2f12324d259ef10efe46197bb40a1126a /lua/plugins/theme.lua | |
parent | a50a5f55ae3af9493f76f0aae8a53167eaee79e1 (diff) |
feat: better nord theme and markdown hl
Diffstat (limited to 'lua/plugins/theme.lua')
-rw-r--r-- | lua/plugins/theme.lua | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index 44d8e8d..1085034 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -1,20 +1,32 @@ return { { - 'shaunsingh/nord.nvim', + 'gbprod/nord.nvim', lazy = false, priority = 1000, config = function() - vim.g.nord_contrast = true - vim.g.nord_borders = true - vim.g.nord_disable_background = false - vim.g.nord_cursorline_transparent = false - vim.g.nord_enable_sidebar_background = false - vim.g.nord_uniform_diff_background = true - vim.g.nord_italic = false - vim.g.nord_bold = false + require('nord').setup({ + transparent = false, -- controled with below plugin 'xiyaowong/transparent.nvim' + terminal_colors = true, + diff = { mode = 'bg' }, + borders = true, + errors = { mode = 'bg' }, + search = { theme = 'vim' }, + styles = { + -- Style to be applied to different syntax groups + -- Value is any valid attr-list value for `:help nvim_set_hl` + comments = { italic = true }, + keywords = {}, + functions = {}, + variables = {}, + -- To customize lualine/bufferline + bufferline = { + current = {}, + modified = { italic = true }, + }, + }, + }) - require('nord').set() - -- vim.cmd.colorscheme = 'nord' + vim.cmd.colorscheme('nord') end, }, { @@ -24,6 +36,7 @@ return { extra_groups = { -- 'NormalFloat', -- plugins which have float panel such as Lazy, Mason, LspInfo }, + exclude_groups = { 'CursorLine' }, }) vim.keymap.set('n', '<leader>tT', '<CMD>TransparentToggle<CR>', { desc = '[t]oggle [T]ransparency' }) end, |