Skip to content

Commit

Permalink
Merge pull request #1 from m15a/fix-punct-str-specials
Browse files Browse the repository at this point in the history
Clearer colors for special tokens in string / special strings
  • Loading branch information
m15a authored Feb 9, 2024
2 parents 67c7036 + 0472114 commit 083acf9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixed

- `string_special`, `punctuation_special` are now colorized with magenta.

## [2.0.0][v2.0.0] (2024-02-08)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion doc/srcerite.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*srcerite.txt* For NVIM v0.8.0 Last change: 2024 February 07
*srcerite.txt* For NVIM v0.8.0 Last change: 2024 February 08

Maintainer: NACAMURA Mitsuhiro <[email protected]>
URL: https://github.com/m15a/nvim-srcerite
Expand Down
4 changes: 2 additions & 2 deletions lua/srcerite/inputs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ return {
-- punctuation = , --> text_contrast_bg_high
-- punctuation_bracket = , --> punctuation
-- punctuation_delimiter = , --> punctuation
-- punctuation_special = , --> string_special
punctuation_special = srcery.magenta, --> string_special
search = srcery.xgray5,
select = srcery.xgray2, --> bg_contrast_low
special = srcery.orange,
Expand All @@ -74,7 +74,7 @@ return {
string = srcery.bright_green,
-- string_escape = , --> character
-- string_regex = , --> string
-- string_special = , --> identifier
string_special = srcery.magenta, --> identifier
structure = srcery.cyan,
-- syntax_error = , --> error
-- tag = , --> structure
Expand Down

0 comments on commit 083acf9

Please sign in to comment.