From 8f48d38cc25a6fc551cbb901622537c6de025d4e Mon Sep 17 00:00:00 2001 From: zootedb0t <05kraken@proton.me> Date: Fri, 22 Dec 2023 18:37:01 +0530 Subject: [PATCH] update few highlight groups --- README.md | 10 +++++----- lua/citruszest/highlights/init.lua | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bcaa161..afdad45 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ citruszest.nvim ## :wrench: Installation -#### Requirement +### Requirement -- Treesitter (Recommended) +- ***Treesitter*** (Recommended) - Neovim >= 0.9.1 [lazy.nvim](https://github.com/folke/lazy.nvim) @@ -69,15 +69,15 @@ colorscheme citruszest ## :hammer: Configration -To know `highlight` group of word under cursor. Use `Inspect` command. +To find `highlight` group of word under cursor. Use `Inspect` command. ```lua -- For using default config leave this empty. require("citruszest").setup({ option = { transparent = false, -- Enable/Disable transparency + bold = false, italic = true, - bold = true, }, -- Override default highlight style in this table -- E.g If you want to override `Constant` highlight style @@ -88,7 +88,7 @@ To know `highlight` group of word under cursor. Use `Inspect` command. }) ``` -`citruszest` supports `lualine.nvim`. +`citruszest` supports [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim/). ```lua local lualine = require 'lualine' diff --git a/lua/citruszest/highlights/init.lua b/lua/citruszest/highlights/init.lua index 1713282..d159065 100644 --- a/lua/citruszest/highlights/init.lua +++ b/lua/citruszest/highlights/init.lua @@ -69,13 +69,13 @@ M.theme = function(C, O) Number = { fg = C.bright_blue }, -- a number constant: 234, 0xff Float = { link = "Number" }, -- a floating point constant: 2.3e10 Boolean = { fg = C.orange }, -- a boolean constant: TRUE, false - Identifier = { fg = C.bright_orange, italic = O.italic }, -- (preferred) any variable name + Identifier = { fg = C.turquoise_blue, italic = O.italic }, -- (preferred) any variable name Function = { fg = C.bright_green }, -- function name (also: methods for classes) Statement = { fg = C.blue }, -- (preferred) any statement - Conditional = { fg = C.blue }, -- if, then, else, endif, switch, etc. + Conditional = { fg = C.bright_orange }, -- if, then, else, endif, switch, etc. Repeat = { fg = C.bright_yellow }, -- for, do, while, etc. Label = { fg = C.bright_green }, -- case, default, etc. - Operator = { fg = C.orange }, -- "sizeof", "+", "*", etc. + Operator = { fg = C.blue }, -- "sizeof", "+", "*", etc. Keyword = { fg = C.blue }, -- any other keyword Array = { fg = C.blue }, Exception = { fg = C.blue }, -- try, catch, throw @@ -83,13 +83,13 @@ M.theme = function(C, O) PreProc = { fg = C.bright_green }, -- (preferred) generic Preprocessor Include = { fg = C.blue }, -- preprocessor #include Define = { link = "PreProc" }, -- preprocessor #define - Macro = { fg = C.blue }, -- same as Define + Macro = { fg = C.bright_red }, -- same as Define PreCondit = { link = "PreProc" }, -- preprocessor #if, #else, #endif, etc. StorageClass = { fg = C.bright_yellow }, -- static, register, volatile, etc. Structure = { link = "Keyword" }, -- struct, union, enum, etc. Special = { fg = C.bright_orange }, -- (preferred) any special symbol - Type = { fg = C.blue }, -- (preferred) int, long, char, etc. + Type = { fg = C.bright_red }, -- (preferred) int, long, char, etc. Typedef = { link = "Type" }, -- A typedef SpecialChar = { link = "Special" }, -- special character in a constant Tag = { link = "Special" }, -- you can use CTRL-] on this