neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(core): apply colorscheme patches

+24 -7
+11
lua/core/autocmds.lua
··· 110 110 end), 111 111 }) 112 112 113 + au("ColorScheme", { 114 + group = aug("user_colorscheme"), 115 + callback = function (ev) 116 + local tbl = require("core.highlights") 117 + local callback = tbl[ev.match] 118 + if callback then 119 + callback() 120 + end 121 + end, 122 + }) 123 + 113 124 if vim.o.inccommand == "split" then 114 125 au("BufEnter", { 115 126 group = aug("fix_quicker_nvim"),
+12 -7
lua/core/highlights.lua
··· 2 2 3 3 pcall(vim.cmd.colorscheme, "github_dark_default") 4 4 5 - util_hl.set("StatusLineNC", { reverse = true, inherit = "StatusLine" }) 6 - -- util_hl.set("StatusLine", { bold = true }) 7 - -- local sep = util_hl.tint(util_hl.get("WinBar", "fg"), -0.25) 8 - -- util_hl.set("WinBar", { reverse = true }) 9 - -- util_hl.set("WinBarNC", { fg = sep, reverse = true }) 10 - -- util_hl.set("WinSeparator", { fg = sep }) 11 - 12 5 --[[ 13 6 some good-looking colorscheems 14 7 ··· 18 11 # light-theme 19 12 - https://github.com/yorickpeterse/nvim-grey 20 13 ]] 14 + 15 + -- colorscheme callback map used from core.autocmds 16 + return { 17 + ["github_dark_default"] = function () 18 + util_hl.set("StatusLineNC", { reverse = true, inherit = "StatusLine" }) 19 + -- util_hl.set("StatusLine", { bold = true }) 20 + -- local sep = util_hl.tint(util_hl.get("WinBar", "fg"), -0.25) 21 + -- util_hl.set("WinBar", { reverse = true }) 22 + -- util_hl.set("WinBarNC", { fg = sep, reverse = true }) 23 + -- util_hl.set("WinSeparator", { fg = sep }) 24 + end 25 + }
+1
rocks.toml
··· 86 86 tree-sitter-vue = "0.0.2" 87 87 tree-sitter-hurl = "0.0.3" 88 88 "diffview.nvim" = "scm" 89 + "sweetie.nvim" = "3.2.0" 89 90 90 91 [plugins."gitsigns.nvim"] 91 92 git = "lewis6991/gitsigns.nvim"