Skip to content

Commit

Permalink
update few highlight groups
Browse files Browse the repository at this point in the history
  • Loading branch information
zootedb0t committed Dec 22, 2023
1 parent fe766a9 commit 8f48d38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ citruszest.nvim

## :wrench: Installation

#### Requirement
### Requirement

- <b>Treesitter</b> (Recommended)
- ***Treesitter*** (Recommended)
- Neovim >= 0.9.1

[lazy.nvim](https://github.com/folke/lazy.nvim)
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions lua/citruszest/highlights/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,27 +69,27 @@ 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

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
Expand Down

0 comments on commit 8f48d38

Please sign in to comment.