diff --git a/README.md b/README.md index 089c2f9..6408db3 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ The colorscheme explicitly adds highlights for the following plugins: - Neogit - Gitsigns - Hydra +- Navic And many others should "just work!" If you have a plugin that needs explicit highlights, feel free to open an issue or PR and I would be happy to add them. diff --git a/fnl/oxocarbon/init.fnl b/fnl/oxocarbon/init.fnl index 45349bc..66ceb5a 100644 --- a/fnl/oxocarbon/init.fnl +++ b/fnl/oxocarbon/init.fnl @@ -666,4 +666,35 @@ (custom-set-face! :VimwikiLink [] {:link "markdownUrl"}) (custom-set-face! :VimwikiCode [] {:link "markdownCode"}) +;; nvim-navic + +(custom-set-face! :NavicIconsFile [] {:fg oxocarbon.base14 :bg oxocarbon.none }) +(custom-set-face! :NavicIconsModule [] {:fg oxocarbon.base11 :bg oxocarbon.none }) +(custom-set-face! :NavicIconsNamespace [] {:fg oxocarbon.base07 :bg oxocarbon.none }) +(custom-set-face! :NavicIconsClass [] {:fg oxocarbon.base11 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsMethod [] {:fg oxocarbon.base14 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsProperty [] {:fg oxocarbon.base12 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsField [] {:fg oxocarbon.base12 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsConstructor [] {:fg oxocarbon.base10 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsEnum [] {:fg oxocarbon.base09 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsInterface [] {:fg oxocarbon.base08 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsFunction [] {:fg oxocarbon.base11 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsVariable [] {:fg oxocarbon.base14 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsConstant [] {:fg oxocarbon.base10 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsString [] {:fg oxocarbon.base14 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsNumber [] {:fg oxocarbon.base15 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsBoolean [] {:fg oxocarbon.base09 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsEnumMember [] {:fg oxocarbon.base15}) +(custom-set-face! :NavicIconsStruct [] {:fg oxocarbon.base11}) +(custom-set-face! :NavicIconsOperator [] {:fg oxocarbon.base11 :bg oxocarbon.none}) +(custom-set-face! :NavicIconsTypeParameter [] {:fg oxocarbon.base04 :bg oxocarbon.none}) +;; (custom-set-face! :NavicIconsArray [] {}) +;; (custom-set-face! :NavicIconsObject [] {}) +;; (custom-set-face! :NavicIconsKey [] {}) +;; (custom-set-face! :NavicIconsNull [] {}) +(custom-set-face! :NavicText [] {:fg oxocarbon.base04 :bg oxocarbon.none}) +;; (custom-set-face! :NavicSeperator [] {}) +;; (custom-set-face! :NavicIconsPackage [] {}) +(custom-set-face! :NavicIconsEvent [] {:fg oxocarbon.base12 :bg oxocarbon.none}) + { : oxocarbon } diff --git a/lua/oxocarbon/init.lua b/lua/oxocarbon/init.lua index 10ad5dd..fb96e9e 100644 --- a/lua/oxocarbon/init.lua +++ b/lua/oxocarbon/init.lua @@ -371,4 +371,26 @@ vim.api.nvim_set_hl(0, "VimwikiHeaderChar", {link = "markdownH1"}) vim.api.nvim_set_hl(0, "VimwikiList", {link = "markdownListMarker"}) vim.api.nvim_set_hl(0, "VimwikiLink", {link = "markdownUrl"}) vim.api.nvim_set_hl(0, "VimwikiCode", {link = "markdownCode"}) +vim.api.nvim_set_hl(0, "NavicIconsFile", {fg = oxocarbon.base14, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsModule", {fg = oxocarbon.base11, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsNamespace", {fg = oxocarbon.base07, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsClass", {fg = oxocarbon.base11, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsMethod", {fg = oxocarbon.base14, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsProperty", {fg = oxocarbon.base12, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsField", {fg = oxocarbon.base12, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsConstructor", {fg = oxocarbon.base10, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsEnum", {fg = oxocarbon.base09, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsInterface", {fg = oxocarbon.base08, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsFunction", {fg = oxocarbon.base11, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsVariable", {fg = oxocarbon.base14, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsConstant", {fg = oxocarbon.base10, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsString", {fg = oxocarbon.base14, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsNumber", {fg = oxocarbon.base15, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsBoolean", {fg = oxocarbon.base09, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsEnumMember", {fg = oxocarbon.base15}) +vim.api.nvim_set_hl(0, "NavicIconsStruct", {fg = oxocarbon.base11}) +vim.api.nvim_set_hl(0, "NavicIconsOperator", {fg = oxocarbon.base11, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsTypeParameter", {fg = oxocarbon.base04, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicText", {fg = oxocarbon.base04, bg = oxocarbon.none}) +vim.api.nvim_set_hl(0, "NavicIconsEvent", {fg = oxocarbon.base12, bg = oxocarbon.none}) return {oxocarbon = oxocarbon} \ No newline at end of file