From a687516aedd7cc5e864a561633b0d64f1455041f Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 3 Jun 2023 11:13:58 +0200 Subject: [PATCH] nvim: theme fixery --- .config/nvim/lua/plugins/misc.lua | 81 ++++++++++++++++++++++ .config/nvim/lua/plugins/shelman-theme.lua | 21 +++--- 2 files changed, 92 insertions(+), 10 deletions(-) diff --git a/.config/nvim/lua/plugins/misc.lua b/.config/nvim/lua/plugins/misc.lua index 24391dd..2740b3d 100644 --- a/.config/nvim/lua/plugins/misc.lua +++ b/.config/nvim/lua/plugins/misc.lua @@ -6,6 +6,87 @@ return { "jjo/vim-cue", "ckipp01/stylua-nvim", + { + "jesseleite/nvim-noirbuddy", + dependencies = { "tjdevries/colorbuddy.nvim" }, + config = function() + require("noirbuddy").setup({ + styles = { + italic = true, + bold = true, + underline = true, + undercurl = true, + }, + colors = { + primary = "#FFECB3", + secondary = "#B0BEC5", + -- background = "#1d2229", + background = "#0d1219", + }, + }) + local Color, colors, Group, groups, styles = require("colorbuddy").setup() + Color.new("string", "#D7CCC8") + Color.new("symbol", "#ECEFF1") + + Color.new("comment", "#E57373") + Color.new("hlargs", "#FFF8E1") + + Color.new("illuminate_bg", "#112210") + Color.new("illuminate_fg", "#66FFEE") + + -- Color.new("search_bg", "#554411") + -- Color.new("search_fg", "#FFF0C0") + -- + Color.new("search_bg", "#223311") + Color.new("search_fg", "#CCFF33") + + Group.new("TelescopeTitle", colors.primary) + Group.new("TelescopeBorder", colors.secondary) + Group.new("@comment", colors.comment, nil, styles.bold + styles.italic) + Group.new("@string", colors.string, nil, styles.italic) + + Group.new("@keyword", colors.noir_2) + Group.new("@keyword.function", colors.noir_2) + Group.new("@keyword.return", colors.noir_1) + + Group.new("@operator", colors.noir_1) + Group.new("@keyword.operator", colors.noir_1) + -- Group.new("Hlargs", colors.noir_3, nil, styles.italic) + Group.new("@type.builtin", colors.noir_2) + + Group.new("@variable", colors.symbol, nil, styles.italic) + Group.new("Hlargs", colors.hlargs, nil, styles.italic) + + Group.new("@function", colors.noir_1, nil, styles.bold) + Group.new("@method", colors.noir_1, nil, styles.bold) + + Group.new("@punctuation", colors.noir_4) + Group.new("@punctuation.bracket", colors.noir_4) + Group.new("@punctuation.delimiter", colors.noir_4) + + Group.new("IlluminatedWordText", colors.illuminate_fg, colors.illuminate_bg) + + Group.new("Search", colors.search_fg, colors.search_bg, styles.italic + styles.undercurl) + Group.new("IncSearch", colors.search_fg, colors.search_bg) + end, + }, + + { + "lukas-reineke/headlines.nvim", + -- config = { + -- ft = { "go" }, + -- go = { + -- query = vim.treesitter.parse_query( + -- "go", + -- [[ + -- (function_declaration @headline) + -- ]] + -- ), + -- -- treesitter_language = "go", + -- }, + -- }, + }, + { "m-demare/hlargs.nvim", event = "VeryLazy", diff --git a/.config/nvim/lua/plugins/shelman-theme.lua b/.config/nvim/lua/plugins/shelman-theme.lua index 5c55c5b..112653e 100644 --- a/.config/nvim/lua/plugins/shelman-theme.lua +++ b/.config/nvim/lua/plugins/shelman-theme.lua @@ -1,10 +1,11 @@ -return { - name = "shelman-theme", - dir = "~/.config/shelman-theme/current/neovim", - dev = true, - lazy = false, - priority = 1000, - config = function() - vim.cmd([[colorscheme shelman]]) - end, -} +return {} +-- return { +-- name = "shelman-theme", +-- dir = "~/.config/shelman-theme/current/neovim", +-- dev = true, +-- lazy = false, +-- priority = 1000, +-- config = function() +-- vim.cmd([[colorscheme shelman]]) +-- end, +-- }