2 Commits
1.0.0 ... 1.0.2

40 changed files with 9243 additions and 67 deletions

141
README.md
View File

@@ -1,44 +1,46 @@
# Monobiome
`monobiome` is a minimal, balanced color palette for use in terminals and text editors. It
was designed in OKLCH space to achieve perceptual uniformity across all hues at various
levels of luminance, and does so for _four_ monotone bases and _five_ accent colors. Each
of the monotone base colors (named according to a natural biome whose colors they loosely
resemble) are designed to achieve identical contrast with the accents, and thus any one of
the four can be selected to change the feeling of the palette without sacrificing
readability.
`monobiome` is a minimal, balanced color palette for use in terminals and text
editors. It was designed in OKLCH space to achieve perceptual uniformity across
all hues at various levels of luminance, and does so for _five_ monotone bases
and _five_ accent colors (plus one grey "default"). Each of the monotone base
colors (named according to a natural biome whose colors they loosely resemble)
are designed to achieve identical contrast with the accents, and thus any one
of the four can be selected to change the feeling of the palette without
sacrificing readability.
![Theme preview](images/repo_preview.png)
![Theme preview](images/repo_preview_minimal.png)
_(Preview of default light and dark theme variants)_
See screenshots for the full set of theme variants in [THEMES](THEMES.md) (also discussed
below).
The name "monobiome" connects the palette to its two key sources of inspiration:
- `mono-`: `monobiome` is inspired by the [`monoindustrial` theme][1], and attempts to extend
and balance its accents while retaining similar color identities.
- `-biome`: the desire for several distinct monotone options entailed finding a way to ground the
subtle color variations that were needed, and I liked the idea of tying the choices to
naturally occurring environmental variation like Earth's biomes (even if it is a very
loose affiliation, e.g., green-ish = grass, basically).
See screenshots for the full set of theme variants in [THEMES](THEMES.md) (also
discussed below).
The name "monobiome" connects the palette to its two key sources of
inspiration:
- `mono-`: `monobiome` is inspired by the [`monoindustrial` theme][1], and
attempts to extend and balance its accents while retaining similar color
identities.
- `-biome`: the desire for several distinct monotone options entailed finding a
way to ground the subtle color variations that were needed, and I liked the
idea of tying the choices to naturally occurring environmental variation like
Earth's biomes (even if it is a very loose affiliation, e.g., green-ish =
grass, basically).
## Palette
The `monobiome` palette consists of four monotone bases and five accent colors, each of
which is anchored by hue and spread uniformly across lightness levels 15 to 95 (in OKLCH
space).
The `monobiome` palette consists of four monotone bases and five accent colors,
each of which is anchored by hue and spread uniformly across lightness levels
15 to 95 (in OKLCH space).
![Diagram of palette accents and monotones](images/palette.png)
The chroma curve for each accent is carefully designed to vary smoothly across the
lightness spectrum, with the goal of retaining strong color identity in all settings.
Additionally, as alluded to above, the (WCAG 2) contrast ratio between any choice of
monotone background at a given lightness level and the accent colors is virtually
identical ($\pm 0.1$). Put another way, the relative contrast between accents depends only
on the _lightness_ of the background monotone, not its hue. *(Note that this is
not generally the case; at a fixed lightness level, the contrast between two
colors depends on their hue.)*
The chroma curve for each accent is carefully designed to vary smoothly across
the lightness spectrum, with the goal of retaining strong color identity in all
settings. Additionally, as alluded to above, the (WCAG 2) contrast ratio
between any choice of monotone background at a given lightness level and the
accent colors is virtually identical ($\pm 0.1$). Put another way, the relative
contrast between accents depends only on the _lightness_ of the background
monotone, not its hue. *(Note that this is not generally the case; at a fixed
lightness level, the contrast between two colors depends on their hue.)*
## Concrete themes
![Light biomes](images/light_code_caps.png)
@@ -47,77 +49,83 @@ colors depends on their hue.)*
![Dark biomes](images/dark_code_caps.png)
*(Default dark theme variants)*
Themes are derived from the `monobiome` palette by varying both the monotone hue (the
"biome") and the extent of the background/foreground lightness (the "harshness"). This is
done for both light and dark schemes, and in each case accent colors are selected at a
lightness level that ensures each meet a minimum contrast relative to the primary
background. The following diagram shows each of the 24 resulting combinations:
Themes are derived from the `monobiome` palette by varying both the monotone
hue (the "biome") and the extent of the background/foreground lightness (the
"harshness"). This is done for both light and dark schemes, and in each case
accent colors are selected at a lightness level that ensures each meet a
minimum contrast relative to the primary background. The following diagram
shows each of the 24 resulting combinations:
![Diagram of the 24 available concrete theme options](images/themes.png)
The "soft" harshness level uses monotone shades closer to the mid-shade (lightness level
55), whereas "hard" harshness uses shades further from it. Once the biome and harshness
level are chosen, we're left with a bounded monotone range over which common theme
elements can be defined. For example, the following demonstrates how background and
foreground elements are chosen for the `monobiome` Vim themes:
The "soft" harshness level uses monotone shades closer to the mid-shade
(lightness level 55), whereas "hard" harshness uses shades further from it.
Once the biome and harshness level are chosen, we're left with a bounded
monotone range over which common theme elements can be defined. For example,
the following demonstrates how background and foreground elements are chosen
for the `monobiome` Vim themes:
![
Diagram depicting how themes colors are selected by harshness and mapped onto
application-specific elements
](images/vim_theme_elements.png)
Note how theme elements are mapped onto the general identifiers `bg0-bg3` for backgrounds,
`fg0-fg3` for foregrounds, and `gray` for a central gray tone. The relative properties
(lightness differences, contrast ratios) between colors assigned to these identifiers are
preserved regardless of biome or harshness (e.g., `bg3` and `grey` are _always_ separated
by 20 lightness points in any theme). As a result, applying `monobiome` themes to specific
applications can effectively boil down to defining a single "relative template" that uses
these identifiers, after which any of the 24 theme options can applied immediately.
Note how theme elements are mapped onto the general identifiers `bg0-bg3` for
backgrounds, `fg0-fg3` for foregrounds, and `gray` for a central gray tone. The
relative properties (lightness differences, contrast ratios) between colors
assigned to these identifiers are preserved regardless of biome or harshness
(e.g., `bg3` and `grey` are _always_ separated by 20 lightness points in any
theme). As a result, applying `monobiome` themes to specific applications can
effectively boil down to defining a single "relative template" that uses these
identifiers, after which any of the 24 theme options can applied immediately.
Read more about how themes are created in [DESIGN](DESIGN.md).
# Usage
This repo provides the 24 theme files for `kitty`, `vim`/`neovim`, [`vim-airline`][2], and
`fzf` in the `apps/` directory. You can also find raw palette colors in
`colors/monobiome.toml` if you want to use them to define themes for other applications.
This repo provides the 36 theme files for `kitty`, `vim`/`neovim`, and `fzf` in
the `app-config/` directory. You can also find raw palette colors in
`colors/monobiome.toml` if you want to use them to define themes for other
applications.
Each of the files in the `apps/` directory are named according to
Each of the files in the `app-config/` directory are named according to
```sh
<harshness>-<biome>-monobiome-<mode>.<config>
```
For example, `soft-tundra-monobiome-dark.vim` is the Vim theme file for the dark `tundra`
variant with the soft harshness level.
For example, `soft-tundra-monobiome-dark.vim` is the Vim theme file for the
dark `tundra` variant with the soft harshness level.
## `kitty`
Find `kitty` themes in `apps/kitty`. Themes can be activated in your `kitty.conf` with
Find `kitty` themes in `apps/kitty`. Themes can be activated in your
`kitty.conf` with
```sh
include <theme-file>
```
## `vim`/`neovim`
Find `vim`/`neovim` themes in `apps/nvim`. Themes can be activated by placing a theme file
on Vim's runtime path and setting it in your `.vimrc`/`init.vim` with
Find `vim`/`neovim` themes in `apps/nvim`. Themes can be activated by placing a
theme file on Vim's runtime path and setting it in your `.vimrc`/`init.vim`
with
```sh
colorscheme <theme-name>
```
## `vim-airline`
If you use [`vim-airline`][2], you can find statusline themes in `apps/vim-airline`.
Place a theme file in the `airline` theme folder, and activate it in
your `.vimrc`/`init.vim` with
If you use [`vim-airline`][2], you can find statusline themes in
`apps/vim-airline`. Place a theme file in the `airline` theme folder, and
activate it in your `.vimrc`/`init.vim` with
```sh
let g:airline_theme='<theme-name>'
```
## `fzf`
In `apps/fzf`, you can find scripts that can be ran to export FZF theme variables. In your
shell config (e.g., `.bashrc` or `.zshrc`), you can source these files to apply them in
your terminal:
In `apps/fzf`, you can find scripts that can be ran to export FZF theme
variables. In your shell config (e.g., `.bashrc` or `.zshrc`), you can source
these files to apply them in your terminal:
```sh
source <theme-file>
@@ -141,10 +149,10 @@ Find links to install available light/dark Firefox themes for each biome in
*Savanna monobiome*
# Switching themes
[`symconf`][3] is a general-purpose application config manager that can be used to
generate all `monobiome` variants from a single palette file, and set themes for all apps
at once. You can find example theme templates in `apps/symconf` which provide general
theme variables you can use in your own config templates.
[`symconf`][3] is a general-purpose application config manager that can be used
to generate all `monobiome` variants from a single palette file, and set themes
for all apps at once. You can find example theme templates in `apps/symconf`
which provide general theme variables you can use in your own config templates.
For instance, in an app like `kitty`, you can define a template like
@@ -197,5 +205,4 @@ biome/harshness/mode. This can be done for any app config file.
[1]: https://github.com/isa/TextMate-Themes/blob/master/monoindustrial.tmTheme
[2]: https://github.com/vim-airline/vim-airline
[3]: https://github.com/ologio/symconf

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#d5cbca
--color=fg+:#c5bbba
--color=bg:#1b1413
--color=bg+:#27201f
--color=hl:#557ecc
--color=hl+:#799ee3
--color=info:#888346
--color=marker:#6eb178
--color=prompt:#dc4234
--color=spinner:#888346
--color=pointer:#dc4234
--color=header:#6eb178
--color=border:#27201f
--color=label:#aeaeae
--color=query:#d5cbca
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#332c2b
--color=fg+:#403837
--color=bg:#f6ecea
--color=bg+:#e5dbda
--color=hl:#456fbe
--color=hl+:#2d5299
--color=info:#79743d
--color=marker:#2e6337
--color=prompt:#ca2f24
--color=spinner:#79743d
--color=pointer:#ca2f24
--color=header:#2e6337
--color=border:#e5dbda
--color=label:#aeaeae
--color=query:#332c2b
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#d3ccc7
--color=fg+:#c3bcb7
--color=bg:#1a1511
--color=bg+:#26211c
--color=hl:#557ecc
--color=hl+:#799ee3
--color=info:#888346
--color=marker:#6eb178
--color=prompt:#dc4234
--color=spinner:#888346
--color=pointer:#dc4234
--color=header:#6eb178
--color=border:#26211c
--color=label:#aeaeae
--color=query:#d3ccc7
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#322d28
--color=fg+:#3f3935
--color=bg:#f4ede7
--color=bg+:#e4ddd7
--color=hl:#456fbe
--color=hl+:#2d5299
--color=info:#79743d
--color=marker:#2e6337
--color=prompt:#ca2f24
--color=spinner:#79743d
--color=pointer:#ca2f24
--color=header:#2e6337
--color=border:#e4ddd7
--color=label:#aeaeae
--color=query:#322d28
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#f6ecea
--color=fg+:#e5dbda
--color=bg:#332c2b
--color=bg+:#403837
--color=hl:#799ee3
--color=hl+:#a2bef2
--color=info:#a7a15f
--color=marker:#94cf9c
--color=prompt:#f37060
--color=spinner:#a7a15f
--color=pointer:#f37060
--color=header:#94cf9c
--color=border:#403837
--color=label:#aeaeae
--color=query:#f6ecea
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#1b1413
--color=fg+:#27201f
--color=bg:#d5cbca
--color=bg+:#c5bbba
--color=hl:#2d5299
--color=hl+:#1a3771
--color=info:#5b572e
--color=marker:#1c4524
--color=prompt:#9d1a13
--color=spinner:#5b572e
--color=pointer:#9d1a13
--color=header:#1c4524
--color=border:#c5bbba
--color=label:#aeaeae
--color=query:#1b1413
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#f4ede7
--color=fg+:#e4ddd7
--color=bg:#322d28
--color=bg+:#3f3935
--color=hl:#799ee3
--color=hl+:#a2bef2
--color=info:#a7a15f
--color=marker:#94cf9c
--color=prompt:#f37060
--color=spinner:#a7a15f
--color=pointer:#f37060
--color=header:#94cf9c
--color=border:#3f3935
--color=label:#aeaeae
--color=query:#f4ede7
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,23 @@
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#1a1511
--color=fg+:#26211c
--color=bg:#d3ccc7
--color=bg+:#c3bcb7
--color=hl:#2d5299
--color=hl+:#1a3771
--color=info:#5b572e
--color=marker:#1c4524
--color=prompt:#9d1a13
--color=spinner:#5b572e
--color=pointer:#9d1a13
--color=header:#1c4524
--color=border:#c3bcb7
--color=label:#aeaeae
--color=query:#1a1511
--preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆"
--separator="" --scrollbar="│"'

View File

@@ -0,0 +1,41 @@
# base settings
background #1b1413
foreground #d5cbca
selection_background #27201f
selection_foreground #c5bbba
cursor #c5bbba
cursor_text #27201f
# black
color0 #1b1413
color8 #332c2b
# red
color1 #dc4234
color9 #f37060
# green
color2 #4f925a
color10 #6eb178
# yellow
color3 #888346
color11 #a7a15f
# blue
color4 #557ecc
color12 #799ee3
# magenta (red)
color5 #b76b0c
color13 #d98937
# cyan (blue)
color6 #557ecc
color14 #799ee3
## white
color7 #b5abaa
color15 #d5cbca

View File

@@ -0,0 +1,41 @@
# base settings
background #f6ecea
foreground #332c2b
selection_background #e5dbda
selection_foreground #403837
cursor #403837
cursor_text #e5dbda
# black
color0 #f6ecea
color8 #d5cbca
# red
color1 #ca2f24
color9 #9d1a13
# green
color2 #42824e
color10 #2e6337
# yellow
color3 #79743d
color11 #5b572e
# blue
color4 #456fbe
color12 #2d5299
# magenta (red)
color5 #a45e03
color13 #7c4706
# cyan (blue)
color6 #456fbe
color14 #2d5299
## white
color7 #4d4644
color15 #332c2b

View File

@@ -0,0 +1,41 @@
# base settings
background #1a1511
foreground #d3ccc7
selection_background #26211c
selection_foreground #c3bcb7
cursor #c3bcb7
cursor_text #26211c
# black
color0 #1a1511
color8 #322d28
# red
color1 #dc4234
color9 #f37060
# green
color2 #4f925a
color10 #6eb178
# yellow
color3 #888346
color11 #a7a15f
# blue
color4 #557ecc
color12 #799ee3
# magenta (red)
color5 #b76b0c
color13 #d98937
# cyan (blue)
color6 #557ecc
color14 #799ee3
## white
color7 #b3ada7
color15 #d3ccc7

View File

@@ -0,0 +1,41 @@
# base settings
background #f4ede7
foreground #322d28
selection_background #e4ddd7
selection_foreground #3f3935
cursor #3f3935
cursor_text #e4ddd7
# black
color0 #f4ede7
color8 #d3ccc7
# red
color1 #ca2f24
color9 #9d1a13
# green
color2 #42824e
color10 #2e6337
# yellow
color3 #79743d
color11 #5b572e
# blue
color4 #456fbe
color12 #2d5299
# magenta (red)
color5 #a45e03
color13 #7c4706
# cyan (blue)
color6 #456fbe
color14 #2d5299
## white
color7 #4c4642
color15 #322d28

View File

@@ -0,0 +1,41 @@
# base settings
background #332c2b
foreground #f6ecea
selection_background #403837
selection_foreground #e5dbda
cursor #e5dbda
cursor_text #403837
# black
color0 #332c2b
color8 #4d4644
# red
color1 #f37060
color9 #fea294
# green
color2 #6eb178
color10 #94cf9c
# yellow
color3 #a7a15f
color11 #c6c182
# blue
color4 #799ee3
color12 #a2bef2
# magenta (red)
color5 #d98937
color13 #f1ad6f
# cyan (blue)
color6 #799ee3
color14 #a2bef2
## white
color7 #d5cbca
color15 #f6ecea

View File

@@ -0,0 +1,41 @@
# base settings
background #d5cbca
foreground #1b1413
selection_background #c5bbba
selection_foreground #27201f
cursor #27201f
cursor_text #c5bbba
# black
color0 #d5cbca
color8 #b5abaa
# red
color1 #9d1a13
color9 #6e110b
# green
color2 #2e6337
color10 #1c4524
# yellow
color3 #5b572e
color11 #3e3c20
# blue
color4 #2d5299
color12 #1a3771
# magenta (red)
color5 #7c4706
color13 #54310d
# cyan (blue)
color6 #2d5299
color14 #1a3771
## white
color7 #332c2b
color15 #27201f

View File

@@ -0,0 +1,41 @@
# base settings
background #322d28
foreground #f4ede7
selection_background #3f3935
selection_foreground #e4ddd7
cursor #e4ddd7
cursor_text #3f3935
# black
color0 #322d28
color8 #4c4642
# red
color1 #f37060
color9 #fea294
# green
color2 #6eb178
color10 #94cf9c
# yellow
color3 #a7a15f
color11 #c6c182
# blue
color4 #799ee3
color12 #a2bef2
# magenta (red)
color5 #d98937
color13 #f1ad6f
# cyan (blue)
color6 #799ee3
color14 #a2bef2
## white
color7 #d3ccc7
color15 #f4ede7

View File

@@ -0,0 +1,41 @@
# base settings
background #d3ccc7
foreground #1a1511
selection_background #c3bcb7
selection_foreground #26211c
cursor #26211c
cursor_text #c3bcb7
# black
color0 #d3ccc7
color8 #b3ada7
# red
color1 #9d1a13
color9 #6e110b
# green
color2 #2e6337
color10 #1c4524
# yellow
color3 #5b572e
color11 #3e3c20
# blue
color4 #2d5299
color12 #1a3771
# magenta (red)
color5 #7c4706
color13 #54310d
# cyan (blue)
color6 #2d5299
color14 #1a3771
## white
color7 #322d28
color15 #26211c

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#1b1413"
let g:base16_gui00 = "#1b1413"
let s:gui01 = "#27201f"
let g:base16_gui01 = "#27201f"
let s:gui02 = "#332c2b"
let g:base16_gui02 = "#332c2b"
let s:gui03 = "#403837"
let g:base16_gui03 = "#403837"
let s:gui04 = "#a59c9a"
let g:base16_gui04 = "#a59c9a"
let s:gui05 = "#b5abaa"
let g:base16_gui05 = "#b5abaa"
let s:gui06 = "#c5bbba"
let g:base16_gui06 = "#c5bbba"
let s:gui07 = "#d5cbca"
let g:base16_gui07 = "#d5cbca"
let s:gui08 = "#dc4234"
let g:base16_gui08 = "#dc4234"
let s:gui09 = "#b76b0c"
let g:base16_gui09 = "#b76b0c"
let s:gui0A = "#888346"
let g:base16_gui0A = "#888346"
let s:gui0B = "#4f925a"
let g:base16_gui0B = "#4f925a"
let s:gui0C = "#4f925a"
let g:base16_gui0C = "#4f925a"
let s:gui0D = "#557ecc"
let g:base16_gui0D = "#557ecc"
let s:gui0E = "#557ecc"
let g:base16_gui0E = "#557ecc"
let s:gui0F = "#dc4234"
let g:base16_gui0F = "#dc4234"
let s:grey = "#696160"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#1b1413"
let g:terminal_color_1 = "#dc4234"
let g:terminal_color_2 = "#4f925a"
let g:terminal_color_3 = "#888346"
let g:terminal_color_4 = "#557ecc"
let g:terminal_color_5 = "#557ecc"
let g:terminal_color_6 = "#4f925a"
let g:terminal_color_7 = "#b5abaa"
let g:terminal_color_8 = "#403837"
let g:terminal_color_9 = "#dc4234"
let g:terminal_color_10 = "#4f925a"
let g:terminal_color_11 = "#888346"
let g:terminal_color_12 = "#557ecc"
let g:terminal_color_13 = "#557ecc"
let g:terminal_color_14 = "#4f925a"
let g:terminal_color_15 = "#d5cbca"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#1b1413",
\ "#dc4234",
\ "#4f925a",
\ "#888346",
\ "#557ecc",
\ "#557ecc",
\ "#4f925a",
\ "#b5abaa",
\ "#403837",
\ "#dc4234",
\ "#4f925a",
\ "#888346",
\ "#557ecc",
\ "#557ecc",
\ "#4f925a",
\ "#d5cbca",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#f6ecea"
let g:base16_gui00 = "#f6ecea"
let s:gui01 = "#e5dbda"
let g:base16_gui01 = "#e5dbda"
let s:gui02 = "#d5cbca"
let g:base16_gui02 = "#d5cbca"
let s:gui03 = "#c5bbba"
let g:base16_gui03 = "#c5bbba"
let s:gui04 = "#5b5352"
let g:base16_gui04 = "#5b5352"
let s:gui05 = "#4d4644"
let g:base16_gui05 = "#4d4644"
let s:gui06 = "#403837"
let g:base16_gui06 = "#403837"
let s:gui07 = "#332c2b"
let g:base16_gui07 = "#332c2b"
let s:gui08 = "#ca2f24"
let g:base16_gui08 = "#ca2f24"
let s:gui09 = "#a45e03"
let g:base16_gui09 = "#a45e03"
let s:gui0A = "#79743d"
let g:base16_gui0A = "#79743d"
let s:gui0B = "#42824e"
let g:base16_gui0B = "#42824e"
let s:gui0C = "#42824e"
let g:base16_gui0C = "#42824e"
let s:gui0D = "#456fbe"
let g:base16_gui0D = "#456fbe"
let s:gui0E = "#456fbe"
let g:base16_gui0E = "#456fbe"
let s:gui0F = "#ca2f24"
let g:base16_gui0F = "#ca2f24"
let s:grey = "#968d8b"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#f6ecea"
let g:terminal_color_1 = "#ca2f24"
let g:terminal_color_2 = "#42824e"
let g:terminal_color_3 = "#79743d"
let g:terminal_color_4 = "#456fbe"
let g:terminal_color_5 = "#456fbe"
let g:terminal_color_6 = "#42824e"
let g:terminal_color_7 = "#4d4644"
let g:terminal_color_8 = "#c5bbba"
let g:terminal_color_9 = "#ca2f24"
let g:terminal_color_10 = "#42824e"
let g:terminal_color_11 = "#79743d"
let g:terminal_color_12 = "#456fbe"
let g:terminal_color_13 = "#456fbe"
let g:terminal_color_14 = "#42824e"
let g:terminal_color_15 = "#332c2b"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#f6ecea",
\ "#ca2f24",
\ "#42824e",
\ "#79743d",
\ "#456fbe",
\ "#456fbe",
\ "#42824e",
\ "#4d4644",
\ "#c5bbba",
\ "#ca2f24",
\ "#42824e",
\ "#79743d",
\ "#456fbe",
\ "#456fbe",
\ "#42824e",
\ "#332c2b",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#1a1511"
let g:base16_gui00 = "#1a1511"
let s:gui01 = "#26211c"
let g:base16_gui01 = "#26211c"
let s:gui02 = "#322d28"
let g:base16_gui02 = "#322d28"
let s:gui03 = "#3f3935"
let g:base16_gui03 = "#3f3935"
let s:gui04 = "#a49d98"
let g:base16_gui04 = "#a49d98"
let s:gui05 = "#b3ada7"
let g:base16_gui05 = "#b3ada7"
let s:gui06 = "#c3bcb7"
let g:base16_gui06 = "#c3bcb7"
let s:gui07 = "#d3ccc7"
let g:base16_gui07 = "#d3ccc7"
let s:gui08 = "#dc4234"
let g:base16_gui08 = "#dc4234"
let s:gui09 = "#b76b0c"
let g:base16_gui09 = "#b76b0c"
let s:gui0A = "#888346"
let g:base16_gui0A = "#888346"
let s:gui0B = "#4f925a"
let g:base16_gui0B = "#4f925a"
let s:gui0C = "#4f925a"
let g:base16_gui0C = "#4f925a"
let s:gui0D = "#557ecc"
let g:base16_gui0D = "#557ecc"
let s:gui0E = "#557ecc"
let g:base16_gui0E = "#557ecc"
let s:gui0F = "#dc4234"
let g:base16_gui0F = "#dc4234"
let s:grey = "#68625d"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#1a1511"
let g:terminal_color_1 = "#dc4234"
let g:terminal_color_2 = "#4f925a"
let g:terminal_color_3 = "#888346"
let g:terminal_color_4 = "#557ecc"
let g:terminal_color_5 = "#557ecc"
let g:terminal_color_6 = "#4f925a"
let g:terminal_color_7 = "#b3ada7"
let g:terminal_color_8 = "#3f3935"
let g:terminal_color_9 = "#dc4234"
let g:terminal_color_10 = "#4f925a"
let g:terminal_color_11 = "#888346"
let g:terminal_color_12 = "#557ecc"
let g:terminal_color_13 = "#557ecc"
let g:terminal_color_14 = "#4f925a"
let g:terminal_color_15 = "#d3ccc7"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#1a1511",
\ "#dc4234",
\ "#4f925a",
\ "#888346",
\ "#557ecc",
\ "#557ecc",
\ "#4f925a",
\ "#b3ada7",
\ "#3f3935",
\ "#dc4234",
\ "#4f925a",
\ "#888346",
\ "#557ecc",
\ "#557ecc",
\ "#4f925a",
\ "#d3ccc7",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#f4ede7"
let g:base16_gui00 = "#f4ede7"
let s:gui01 = "#e4ddd7"
let g:base16_gui01 = "#e4ddd7"
let s:gui02 = "#d3ccc7"
let g:base16_gui02 = "#d3ccc7"
let s:gui03 = "#c3bcb7"
let g:base16_gui03 = "#c3bcb7"
let s:gui04 = "#5a544f"
let g:base16_gui04 = "#5a544f"
let s:gui05 = "#4c4642"
let g:base16_gui05 = "#4c4642"
let s:gui06 = "#3f3935"
let g:base16_gui06 = "#3f3935"
let s:gui07 = "#322d28"
let g:base16_gui07 = "#322d28"
let s:gui08 = "#ca2f24"
let g:base16_gui08 = "#ca2f24"
let s:gui09 = "#a45e03"
let g:base16_gui09 = "#a45e03"
let s:gui0A = "#79743d"
let g:base16_gui0A = "#79743d"
let s:gui0B = "#42824e"
let g:base16_gui0B = "#42824e"
let s:gui0C = "#42824e"
let g:base16_gui0C = "#42824e"
let s:gui0D = "#456fbe"
let g:base16_gui0D = "#456fbe"
let s:gui0E = "#456fbe"
let g:base16_gui0E = "#456fbe"
let s:gui0F = "#ca2f24"
let g:base16_gui0F = "#ca2f24"
let s:grey = "#948e88"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#f4ede7"
let g:terminal_color_1 = "#ca2f24"
let g:terminal_color_2 = "#42824e"
let g:terminal_color_3 = "#79743d"
let g:terminal_color_4 = "#456fbe"
let g:terminal_color_5 = "#456fbe"
let g:terminal_color_6 = "#42824e"
let g:terminal_color_7 = "#4c4642"
let g:terminal_color_8 = "#c3bcb7"
let g:terminal_color_9 = "#ca2f24"
let g:terminal_color_10 = "#42824e"
let g:terminal_color_11 = "#79743d"
let g:terminal_color_12 = "#456fbe"
let g:terminal_color_13 = "#456fbe"
let g:terminal_color_14 = "#42824e"
let g:terminal_color_15 = "#322d28"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#f4ede7",
\ "#ca2f24",
\ "#42824e",
\ "#79743d",
\ "#456fbe",
\ "#456fbe",
\ "#42824e",
\ "#4c4642",
\ "#c3bcb7",
\ "#ca2f24",
\ "#42824e",
\ "#79743d",
\ "#456fbe",
\ "#456fbe",
\ "#42824e",
\ "#322d28",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#332c2b"
let g:base16_gui00 = "#332c2b"
let s:gui01 = "#403837"
let g:base16_gui01 = "#403837"
let s:gui02 = "#4d4644"
let g:base16_gui02 = "#4d4644"
let s:gui03 = "#5b5352"
let g:base16_gui03 = "#5b5352"
let s:gui04 = "#c5bbba"
let g:base16_gui04 = "#c5bbba"
let s:gui05 = "#d5cbca"
let g:base16_gui05 = "#d5cbca"
let s:gui06 = "#e5dbda"
let g:base16_gui06 = "#e5dbda"
let s:gui07 = "#f6ecea"
let g:base16_gui07 = "#f6ecea"
let s:gui08 = "#f37060"
let g:base16_gui08 = "#f37060"
let s:gui09 = "#d98937"
let g:base16_gui09 = "#d98937"
let s:gui0A = "#a7a15f"
let g:base16_gui0A = "#a7a15f"
let s:gui0B = "#6eb178"
let g:base16_gui0B = "#6eb178"
let s:gui0C = "#6eb178"
let g:base16_gui0C = "#6eb178"
let s:gui0D = "#799ee3"
let g:base16_gui0D = "#799ee3"
let s:gui0E = "#799ee3"
let g:base16_gui0E = "#799ee3"
let s:gui0F = "#f37060"
let g:base16_gui0F = "#f37060"
let s:grey = "#877e7c"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#332c2b"
let g:terminal_color_1 = "#f37060"
let g:terminal_color_2 = "#6eb178"
let g:terminal_color_3 = "#a7a15f"
let g:terminal_color_4 = "#799ee3"
let g:terminal_color_5 = "#799ee3"
let g:terminal_color_6 = "#6eb178"
let g:terminal_color_7 = "#d5cbca"
let g:terminal_color_8 = "#5b5352"
let g:terminal_color_9 = "#f37060"
let g:terminal_color_10 = "#6eb178"
let g:terminal_color_11 = "#a7a15f"
let g:terminal_color_12 = "#799ee3"
let g:terminal_color_13 = "#799ee3"
let g:terminal_color_14 = "#6eb178"
let g:terminal_color_15 = "#f6ecea"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#332c2b",
\ "#f37060",
\ "#6eb178",
\ "#a7a15f",
\ "#799ee3",
\ "#799ee3",
\ "#6eb178",
\ "#d5cbca",
\ "#5b5352",
\ "#f37060",
\ "#6eb178",
\ "#a7a15f",
\ "#799ee3",
\ "#799ee3",
\ "#6eb178",
\ "#f6ecea",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#d5cbca"
let g:base16_gui00 = "#d5cbca"
let s:gui01 = "#c5bbba"
let g:base16_gui01 = "#c5bbba"
let s:gui02 = "#b5abaa"
let g:base16_gui02 = "#b5abaa"
let s:gui03 = "#a59c9a"
let g:base16_gui03 = "#a59c9a"
let s:gui04 = "#403837"
let g:base16_gui04 = "#403837"
let s:gui05 = "#332c2b"
let g:base16_gui05 = "#332c2b"
let s:gui06 = "#27201f"
let g:base16_gui06 = "#27201f"
let s:gui07 = "#1b1413"
let g:base16_gui07 = "#1b1413"
let s:gui08 = "#9d1a13"
let g:base16_gui08 = "#9d1a13"
let s:gui09 = "#7c4706"
let g:base16_gui09 = "#7c4706"
let s:gui0A = "#5b572e"
let g:base16_gui0A = "#5b572e"
let s:gui0B = "#2e6337"
let g:base16_gui0B = "#2e6337"
let s:gui0C = "#2e6337"
let g:base16_gui0C = "#2e6337"
let s:gui0D = "#2d5299"
let g:base16_gui0D = "#2d5299"
let s:gui0E = "#2d5299"
let g:base16_gui0E = "#2d5299"
let s:gui0F = "#9d1a13"
let g:base16_gui0F = "#9d1a13"
let s:grey = "#786f6e"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#d5cbca"
let g:terminal_color_1 = "#9d1a13"
let g:terminal_color_2 = "#2e6337"
let g:terminal_color_3 = "#5b572e"
let g:terminal_color_4 = "#2d5299"
let g:terminal_color_5 = "#2d5299"
let g:terminal_color_6 = "#2e6337"
let g:terminal_color_7 = "#332c2b"
let g:terminal_color_8 = "#a59c9a"
let g:terminal_color_9 = "#9d1a13"
let g:terminal_color_10 = "#2e6337"
let g:terminal_color_11 = "#5b572e"
let g:terminal_color_12 = "#2d5299"
let g:terminal_color_13 = "#2d5299"
let g:terminal_color_14 = "#2e6337"
let g:terminal_color_15 = "#1b1413"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#d5cbca",
\ "#9d1a13",
\ "#2e6337",
\ "#5b572e",
\ "#2d5299",
\ "#2d5299",
\ "#2e6337",
\ "#332c2b",
\ "#a59c9a",
\ "#9d1a13",
\ "#2e6337",
\ "#5b572e",
\ "#2d5299",
\ "#2d5299",
\ "#2e6337",
\ "#1b1413",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#322d28"
let g:base16_gui00 = "#322d28"
let s:gui01 = "#3f3935"
let g:base16_gui01 = "#3f3935"
let s:gui02 = "#4c4642"
let g:base16_gui02 = "#4c4642"
let s:gui03 = "#5a544f"
let g:base16_gui03 = "#5a544f"
let s:gui04 = "#c3bcb7"
let g:base16_gui04 = "#c3bcb7"
let s:gui05 = "#d3ccc7"
let g:base16_gui05 = "#d3ccc7"
let s:gui06 = "#e4ddd7"
let g:base16_gui06 = "#e4ddd7"
let s:gui07 = "#f4ede7"
let g:base16_gui07 = "#f4ede7"
let s:gui08 = "#f37060"
let g:base16_gui08 = "#f37060"
let s:gui09 = "#d98937"
let g:base16_gui09 = "#d98937"
let s:gui0A = "#a7a15f"
let g:base16_gui0A = "#a7a15f"
let s:gui0B = "#6eb178"
let g:base16_gui0B = "#6eb178"
let s:gui0C = "#6eb178"
let g:base16_gui0C = "#6eb178"
let s:gui0D = "#799ee3"
let g:base16_gui0D = "#799ee3"
let s:gui0E = "#799ee3"
let g:base16_gui0E = "#799ee3"
let s:gui0F = "#f37060"
let g:base16_gui0F = "#f37060"
let s:grey = "#857f7a"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#322d28"
let g:terminal_color_1 = "#f37060"
let g:terminal_color_2 = "#6eb178"
let g:terminal_color_3 = "#a7a15f"
let g:terminal_color_4 = "#799ee3"
let g:terminal_color_5 = "#799ee3"
let g:terminal_color_6 = "#6eb178"
let g:terminal_color_7 = "#d3ccc7"
let g:terminal_color_8 = "#5a544f"
let g:terminal_color_9 = "#f37060"
let g:terminal_color_10 = "#6eb178"
let g:terminal_color_11 = "#a7a15f"
let g:terminal_color_12 = "#799ee3"
let g:terminal_color_13 = "#799ee3"
let g:terminal_color_14 = "#6eb178"
let g:terminal_color_15 = "#f4ede7"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#322d28",
\ "#f37060",
\ "#6eb178",
\ "#a7a15f",
\ "#799ee3",
\ "#799ee3",
\ "#6eb178",
\ "#d3ccc7",
\ "#5a544f",
\ "#f37060",
\ "#6eb178",
\ "#a7a15f",
\ "#799ee3",
\ "#799ee3",
\ "#6eb178",
\ "#f4ede7",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

View File

@@ -0,0 +1,995 @@
" vi:syntax=vim
"
" Top-level remarks:
"
" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors
" for GUI and terminal Vim.
" - `link` allows for linking one syntax group to another, reusing the same color
" settings. Language-specific groups can then point to one of the base color highlight
" groups, for example, without needing to repeat the raw color values.
"
" There are several kinds of syntax identifiers:
"
" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim
" elements, like whitespace, bold text, the foldcolumn, etc
" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for
" syntax elements that various language syntax files link to. For instance, Python
" syntax files might have specific patterns that match function keywords like "def," and
" the resulting syntax region can be highlighted by linking it to the core "Function"
" highlight identifier.
" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for
" treesitter-based syntax highlighting, which can replace regex-based matching when
" enabled for richer (and often faster) highlighting. These groups can be linked to the
" core identifiers like any other language.
"
" *Note*: each of these identifiers can add a lang-specific suffix to style those groups
" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style
" Python booleans red, while the lang-agnostic `@boolean` definition remains.
" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core
" to vim/nvim, but often appear only in the context of plugins or certain modules (like
" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's
" built-in LSP hover info.
" GUI color definitions
let s:gui00 = "#d3ccc7"
let g:base16_gui00 = "#d3ccc7"
let s:gui01 = "#c3bcb7"
let g:base16_gui01 = "#c3bcb7"
let s:gui02 = "#b3ada7"
let g:base16_gui02 = "#b3ada7"
let s:gui03 = "#a49d98"
let g:base16_gui03 = "#a49d98"
let s:gui04 = "#3f3935"
let g:base16_gui04 = "#3f3935"
let s:gui05 = "#322d28"
let g:base16_gui05 = "#322d28"
let s:gui06 = "#26211c"
let g:base16_gui06 = "#26211c"
let s:gui07 = "#1a1511"
let g:base16_gui07 = "#1a1511"
let s:gui08 = "#9d1a13"
let g:base16_gui08 = "#9d1a13"
let s:gui09 = "#7c4706"
let g:base16_gui09 = "#7c4706"
let s:gui0A = "#5b572e"
let g:base16_gui0A = "#5b572e"
let s:gui0B = "#2e6337"
let g:base16_gui0B = "#2e6337"
let s:gui0C = "#2e6337"
let g:base16_gui0C = "#2e6337"
let s:gui0D = "#2d5299"
let g:base16_gui0D = "#2d5299"
let s:gui0E = "#2d5299"
let g:base16_gui0E = "#2d5299"
let s:gui0F = "#9d1a13"
let g:base16_gui0F = "#9d1a13"
let s:grey = "#76706b"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#d3ccc7"
let g:terminal_color_1 = "#9d1a13"
let g:terminal_color_2 = "#2e6337"
let g:terminal_color_3 = "#5b572e"
let g:terminal_color_4 = "#2d5299"
let g:terminal_color_5 = "#2d5299"
let g:terminal_color_6 = "#2e6337"
let g:terminal_color_7 = "#322d28"
let g:terminal_color_8 = "#a49d98"
let g:terminal_color_9 = "#9d1a13"
let g:terminal_color_10 = "#2e6337"
let g:terminal_color_11 = "#5b572e"
let g:terminal_color_12 = "#2d5299"
let g:terminal_color_13 = "#2d5299"
let g:terminal_color_14 = "#2e6337"
let g:terminal_color_15 = "#1a1511"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#d3ccc7",
\ "#9d1a13",
\ "#2e6337",
\ "#5b572e",
\ "#2d5299",
\ "#2d5299",
\ "#2e6337",
\ "#322d28",
\ "#a49d98",
\ "#9d1a13",
\ "#2e6337",
\ "#5b572e",
\ "#2d5299",
\ "#2d5299",
\ "#2e6337",
\ "#1a1511",
\ ]
endif
let s:guibg = s:gui00
let s:ctermbg = s:cterm00
" Theme setup
hi clear
syntax reset
let g:colors_name = "active"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
" For a given syntax group, sets the GUI and terminal foreground and backgrounds
" Optional parameters are interpreted as `attr` and `guisp`, the first of which appears
" to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be
" 'special' colors used for underlines in the GUI.
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
" See :help highlight-guifg
let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"]
if a:guifg != ""
if index(l:gui_special_names, a:guifg) >= 0
exec "hi " . a:group . " guifg=" . a:guifg
else
exec "hi " . a:group . " guifg=" . a:guifg
endif
endif
if a:guibg != ""
if index(l:gui_special_names, a:guibg) >= 0
exec "hi " . a:group . " guibg=" . a:guibg
else
exec "hi " . a:group . " guibg=" . a:guibg
endif
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
if index(l:gui_special_names, l:guisp) >= 0
exec "hi " . a:group . " guisp=" . l:guisp
else
exec "hi " . a:group . " guisp=" . l:guisp
endif
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" color groups for interpretability
call <sid>hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "")
call <sid>hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "")
call <sid>hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "")
call <sid>hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "")
call <sid>hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "")
call <sid>hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "")
call <sid>hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "")
call <sid>hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "")
call <sid>hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "")
call <sid>hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "")
call <sid>hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "")
call <sid>hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "")
call <sid>hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "")
call <sid>hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "")
call <sid>hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "")
call <sid>hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "")
call <sid>hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "")
call <sid>hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "")
call <sid>hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "")
call <sid>hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "")
call <sid>hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "")
call <sid>hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "")
call <sid>hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "")
call <sid>hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "")
call <sid>hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "")
call <sid>hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "")
call <sid>hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "")
call <sid>hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "")
call <sid>hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "")
call <sid>hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "")
call <sid>hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "")
call <sid>hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "")
call <sid>hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "")
call <sid>hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "")
call <sid>hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "")
call <sid>hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "")
call <sid>hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "")
call <sid>hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "")
call <sid>hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "")
call <sid>hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "")
call <sid>hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "")
call <sid>hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "")
call <sid>hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "")
call <sid>hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "")
call <sid>hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "")
call <sid>hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "")
call <sid>hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "")
call <sid>hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "")
call <sid>hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "")
call <sid>hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "")
call <sid>hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "")
" Vim editor colors
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Italic", "", "", "", "", "italic", "")
call <sid>hi("BoldItalic", "", "", "", "", "italic,bold", "")
call <sid>hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Macro", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", "", "", "", "", "underline", "fg")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
"call <sid>hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
hi! link Conceal ThemeBlue
call <sid>hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "")
call <sid>hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "")
call <sid>hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "")
call <sid>hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Identifier", s:gui06, "", s:cterm05, "", "none", "")
call <sid>hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "")
call <sid>hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "")
hi! link Boolean ThemeOrange
hi! link Character ThemeRed
hi! link Comment ThemeGreyItalic
hi! link Conditional ThemeRed
hi! link Constant ThemeOrange
hi! link Delimiter ThemeFg1
hi! link Float ThemeOrange
hi! link Function ThemeBlue
hi! link Include ThemeBlue
hi! link Constant ThemeOrange
hi! link Label ThemeOrange
hi! link Number ThemeOrange
hi! link Operator ThemeYellow
hi! link PreProc ThemeOrange
hi! link Repeat ThemeViolet
hi! link Special ThemeYellow
hi! link SpecialChar ThemeMagenta
hi! link Statement ThemeRed
hi! link StorageClass ThemeOrange
hi! link String ThemeGreen
hi! link Structure ThemeOrange
hi! link Tag ThemeOrange
hi! link Type ThemeYellow
hi! link Typedef ThemeOrange
" Treesitter
if has("nvim-0.8.0")
hi! link @field ThemeRed
hi! link @property ThemeRed
hi! link @namespace ThemeFg1Italic
hi! link @variable.builtin ThemeFg1Italic
hi! link @variable ThemeFg2
hi! link @conceal ThemeBlue
hi! link @text.uri ThemeRedItalic
hi! link @text.reference ThemeRed
hi! link @annotation ThemeViolet
hi! link @attribute ThemeBlue
hi! link @boolean ThemeOrange
hi! link @character ThemeRed
hi! link @character.special ThemeMagenta
hi! link @comment Comment
hi! link @constant ThemeBlue
hi! link @constant.builtin ThemeBlue
hi! link @constant.macro ThemeRed
hi! link @keyword.directive.define ThemeViolet
hi! link @keyword.exception ThemeRed
hi! link @comment.error ThemeRed
hi! link @number.float ThemeRed
hi! link @keyword.function ThemeRed
hi! link @function ThemeBlue
hi! link @function.builtin ThemeBlue
hi! link @function.call ThemeBlue
hi! link @function.macro ThemeRed
hi! link @function.method ThemeBlue
hi! link @function.method.call ThemeBlue
hi! link @keyword.debug ThemeRed
hi! link @keyword.conditional ThemeRed
hi! link @keyword.import ThemeViolet
hi! link @keyword.coroutine ThemeViolet
hi! link @keyword.operator ThemeYellow
hi! link @keyword.directive ThemeViolet
hi! link @keyword.repeat ThemeViolet
hi! link @keyword.storage ThemeViolet
hi! link @keyword.return ThemeRed
hi! link @constructor ThemeBlue
hi! link @namespace.builtin ThemeViolet
hi! link @none ThemeFg1
hi! link @number ThemeOrange
hi! link @string ThemeGreen
hi! link @tag ThemeRed
hi! link @tag.delimiter ThemeViolet
hi! link @tag.attribute ThemeYellow
" affects markdown
hi! link @markup ThemeYellow
hi! link @markup.raw ThemeGreen
hi! link @markup.raw.block.lang ThemeFg2Bold
hi! link @markup.raw.block.marker ThemeRed
"call <sid>hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "")
hi! link @markup.list ThemeBlue
hi! link @markup.quote ThemeGrey
hi! link @markup.link ThemeYellow " borders
hi! link @markup.link.text ThemeBlue
hi! link @markup.link.label ThemeYellow
hi! link @markup.link.url ThemeYellow
hi! link @markup.link.dest ThemeFg3
hi! link @markup.link.wiki ThemeYellow
hi! link @markup.link.wiki.text ThemeBlue
hi! link @markup.link.wiki.label ThemeYellow
"hi! link @markup.link.label.symbol ThemeGreen
"hi! link markdownWikiLink ThemeViolet
"
hi! link @markup.environment ThemeYellow
hi! link @markup.environment.name ThemeYellow
hi! link @markup.math ThemeYellow
hi! link @punctuation.delimiter.latex ThemeOrange
hi! link @markup.strong Bold
hi! link @markup.emphasis Bold
hi! link @markup.strikethrough ThemeYellow
hi! link @markup.underline ThemeYellow
hi! link @comment.info ThemeBlue
hi! link @comment.todo ThemeYellow
hi! link @comment.note ThemeBg3
hi! link @comment.hint ThemeGreen
hi! link @comment.warning ThemeOrange
hi! link @type ThemeYellow
hi! link @type.builtin ThemeOrange
hi! link @type.definition ThemeViolet
hi! link @type.qualifier ThemeViolet
" Markdown
" hi! link @spell.markdown ThemeFg3
"call <sid>hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "")
"hi! link @markup.heading ThemeRed
hi! link @markup.heading.marker ThemeOrange
hi! link @markup.heading.title ThemeRed "Italic
" set this for a strong background
"call <sid>hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "")
hi! link @markup.heading.title.1 Bold
hi! link @markup.heading.title.3 Italic
"hi! link @markup.heading.4.title Italic
" YAML
hi! link @string.yaml ThemeBlue
hi! link @punctuation.delimiter.yaml ThemeGreen
hi! link @property.yaml ThemeFg2
" Diff
hi! link @diff.minus ThemeRed
hi! link @diff.plus ThemeGreen
call <sid>hi("TreesitterContext", "", s:gui00, "", "", "", "")
"hi TreesitterContextLineNumberBottom gui=underline guisp=Gray
"call <sid>hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02)
call <sid>hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "")
"call <sid>hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02)
endif
" Standard highlights to be used by plugins
if has("patch-8.0.1038")
call <sid>hi("Deprecated", "", "", "", "", "strikethrough", "")
endif
call <sid>hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "")
call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "")
call <sid>hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08)
call <sid>hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09)
call <sid>hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D)
call <sid>hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C)
call <sid>hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B)
call <sid>hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E)
call <sid>hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "")
" LSP
if has("nvim")
hi! link DiagnosticError ErrorSign
hi! link DiagnosticWarn WarningSign
hi! link DiagnosticInfo InfoSign
hi! link DiagnosticHint HintSign
hi! link DiagnosticOk OkSign
hi! link DiagnosticFloatingError ErrorFloat
hi! link DiagnosticFloatingWarn WarningFloat
hi! link DiagnosticFloatingInfo InfoFloat
hi! link DiagnosticFloatingHint HintFloat
hi! link DiagnosticFloatingOk OkFloat
hi! link DiagnosticUnderlineError ErrorHighlight
hi! link DiagnosticUnderlineWarn WarningHighlight
hi! link DiagnosticUnderlineInfo InfoHighlight
hi! link DiagnosticUnderlineHint HintHighlight
hi! link DiagnosticUnderlineOk OkHighlight
hi! link DiagnosticsVirtualTextError ErrorSign
hi! link DiagnosticsVirtualTextWarning WarningSign
hi! link DiagnosticsVirtualTextInfo InfoSign
hi! link DiagnosticsVirtualTextHint HintSign
hi! link DiagnosticsVirtualTextOk OkSign
" Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign
hi! link LspDiagnosticsSignHint HintSign
hi! link LspDiagnosticsVirtualTextError ErrorSign
hi! link LspDiagnosticsVirtualTextWarning WarningSign
hi! link LspDiagnosticsVirtualTextInfo InfoSign
hi! link LspDiagnosticsVirtualTextHint HintSign
hi! link LspDiagnosticsFloatingError ErrorFloat
hi! link LspDiagnosticsFloatingWarning WarningFloat
hi! link LspDiagnosticsFloatingInfo InfoFloat
hi! link LspDiagnosticsFloatingHint HintFloat
hi! link LspDiagnosticsUnderlineError ErrorHighlight
hi! link LspDiagnosticsUnderlineWarning WarningHighlight
hi! link LspDiagnosticsUnderlineInfo InfoHighlight
hi! link LspDiagnosticsUnderlineHint HintHighlight
hi! link LspReferenceText ReferenceText
hi! link LspReferenceRead ReferenceRead
hi! link LspReferenceWrite ReferenceWrite
endif
" "
" LANGUAGES
" "
" C
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C#
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" Clap
hi! link ClapInput ColorColumn
hi! link ClapSpinner ColorColumn
hi! link ClapDisplay Default
hi! link ClapPreview ColorColumn
hi! link ClapCurrentSelection CursorLine
hi! link ClapNoMatchesFound ErrorFloat
" Coc
hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat ErrorFloat
hi! link CocWarningFloat WarningFloat
hi! link CocInfoFloat InfoFloat
hi! link CocHintFloat HintFloat
hi! link CocErrorHighlight ErrorHighlight
hi! link CocWarningHighlight WarningHighlight
hi! link CocInfoHighlight InfoHighlight
hi! link CocHintHighlight HintHighlight
hi! link CocSem_angle Keyword
hi! link CocSem_annotation Keyword
hi! link CocSem_attribute Type
hi! link CocSem_bitwise Keyword
hi! link CocSem_boolean Boolean
hi! link CocSem_brace Normal
hi! link CocSem_bracket Normal
hi! link CocSem_builtinAttribute Type
hi! link CocSem_builtinType Type
hi! link CocSem_character String
hi! link CocSem_class Structure
hi! link CocSem_colon Normal
hi! link CocSem_comma Normal
hi! link CocSem_comment Comment
hi! link CocSem_comparison Keyword
hi! link CocSem_concept Keyword
hi! link CocSem_constParameter Identifier
hi! link CocSem_dependent Keyword
hi! link CocSem_dot Keyword
hi! link CocSem_enum Structure
hi! link CocSem_enumMember Constant
hi! link CocSem_escapeSequence Type
hi! link CocSem_event Identifier
hi! link CocSem_formatSpecifier Type
hi! link CocSem_function Function
hi! link CocSem_interface Type
hi! link CocSem_keyword Keyword
hi! link CocSem_label Keyword
hi! link CocSem_logical Keyword
hi! link CocSem_macro Macro
hi! link CocSem_method Function
hi! link CocSem_modifier Keyword
hi! link CocSem_namespace Identifier
hi! link CocSem_number Number
hi! link CocSem_operator Operator
hi! link CocSem_parameter Identifier
hi! link CocSem_parenthesis Normal
hi! link CocSem_property Identifier
hi! link CocSem_punctuation Keyword
hi! link CocSem_regexp Type
hi! link CocSem_selfKeyword Constant
hi! link CocSem_semicolon Normal
hi! link CocSem_string String
hi! link CocSem_struct Structure
hi! link CocSem_type Type
hi! link CocSem_typeAlias Type
hi! link CocSem_typeParameter Type
hi! link CocSem_unknown Normal
hi! link CocSem_variable Identifier
call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "")
call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "")
call <sid>hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "")
" CSS
hi! link cssBraces ThemeBlue
hi! link cssFunctionName ThemeYellow
hi! link cssIdentifier ThemeOrange
hi! link cssClassName ThemeGreen
hi! link cssColor ThemeBlue
hi! link cssSelectorOp ThemeBlue
hi! link cssSelectorOp2 ThemeBlue
hi! link cssImportant ThemeGreen
hi! link cssVendor ThemeFg1
hi! link cssTextProp ThemeCyan
hi! link cssAnimationProp ThemeCyan
hi! link cssUIProp ThemeYellow
hi! link cssTransformProp ThemeCyan
hi! link cssTransitionProp ThemeCyan
hi! link cssPrintProp ThemeCyan
hi! link cssPositioningProp ThemeYellow
hi! link cssBoxProp ThemeCyan
hi! link cssFontDescriptorProp ThemeCyan
hi! link cssFlexibleBoxProp ThemeCyan
hi! link cssBorderOutlineProp ThemeCyan
hi! link cssBackgroundProp ThemeCyan
hi! link cssMarginProp ThemeCyan
hi! link cssListProp ThemeCyan
hi! link cssTableProp ThemeCyan
hi! link cssFontProp ThemeCyan
hi! link cssPaddingProp ThemeCyan
hi! link cssDimensionProp ThemeCyan
hi! link cssRenderProp ThemeCyan
hi! link cssColorProp ThemeCyan
hi! link cssGeneratedContentProp ThemeCyan
" CMP
hi! link CmpItemAbbrDeprecated Deprecated
hi! link CmpItemAbbrMatch SearchMatch
hi! link CmpItemAbbrMatchFuzzy SearchMatch
hi! link CmpItemKindClass Type
hi! link CmpItemKindColor Keyword
hi! link CmpItemKindConstant Constant
hi! link CmpItemKindConstructor Special
hi! link CmpItemKindEnum Type
hi! link CmpItemKindEnumMember Constant
hi! link CmpItemKindEvent Identifier
hi! link CmpItemKindField Character
hi! link CmpItemKindFile Directory
hi! link CmpItemKindFolder Directory
hi! link CmpItemKindFunction Function
hi! link CmpItemKindInterface Type
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindMethod Function
hi! link CmpItemKindModule Namespace
hi! link CmpItemKindOperator Operator
hi! link CmpItemKindProperty Identifier
hi! link CmpItemKindReference Character
hi! link CmpItemKindSnippet String
hi! link CmpItemKindStruct Type
hi! link CmpItemKindText Text
hi! link CmpItemKindUnit Namespace
hi! link CmpItemKindValue Comment
hi! link CmpItemKindVariable Identifier
if has("nvim-0.8.0")
hi! link CmpItemKindField @field
hi! link CmpItemKindProperty @property
endif
" Diff
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "")
call <sid>hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "")
" Git
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter
hi! link GitGutterAdd GitAddSign
hi! link GitGutterChange GitChangeSign
hi! link GitGutterDelete GitDeleteSign
hi! link GitGutterChangeDelete GitChangeDeleteSign
" indent-blankline (nvim)
if has("nvim")
call <sid>hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "")
endif
" HTML
call <sid>hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "")
call <sid>hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "")
call <sid>hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui06, "", s:cterm05, "", "", "")
" JavaScript
call <sid>hi("javaScript", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" Matchup
call <sid>hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "")
" NERDTree
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "")
" Netrw
hi! link netrwDir ThemeCyan
hi! link netrwClassify ThemeCyan
hi! link netrwLink ThemeBg3
hi! link netrwSymLink ThemeFg1
hi! link netrwExe ThemeYellow
hi! link netrwComment ThemeBg3
hi! link netrwList ThemeBlue
hi! link netrwHelpCmd ThemeCyan
hi! link netrwCmdSep ThemeFg3
hi! link netrwVersion ThemeGreen
" PHP
call <sid>hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui06, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python
"call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
"call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" hi! link pythonBuiltin ThemeCyan
" hi! link pythonBuiltinObj ThemeCyan
" hi! link pythonBuiltinFunc ThemeGreen
" hi! link pythonFunction Function
" hi! link pythonDecorator ThemeYellow
" hi! link pythonDecoratorName ThemeYellow
" hi! link pythonTripleQuotes ThemeGreenItalic
" hi! link pythonInclude ThemeBlue
" hi! link pythonImport ThemeBlue
" hi! link pythonRun ThemeBlue
" hi! link pythonCoding ThemeBlue
" hi! link pythonOperator ThemeRed
" hi! link pythonException ThemeRed
" hi! link pythonExceptions ThemeYellow
" hi! link pythonBoolean ThemeYellow
" hi! link pythonDot ThemeFg3
" hi! link pythonConditional ThemeCyan
" hi! link pythonRepeat ThemeRed
" hi! link pythonDottedName ThemeGreen
" Ruby
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify
hi! link SignifySignAdd GitAddSign
hi! link SignifySignChange GitChangeSign
hi! link SignifySignDelete GitDeleteSign
" Startify
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" JSON
hi! link jsonKeyword ThemeGreen
hi! link jsonQuote ThemeGreen
hi! link jsonBraces ThemeFg1
hi! link jsonString ThemeFg1
" Markdown
hi! link markdownH1 ThemeRedBold
hi! link markdownH2 ThemeRed
hi! link markdownH3 ThemeRed
hi! link markdownH4 ThemeRed
hi! link markdownH5 ThemeRed
hi! link markdownH6 ThemeRed
hi! link markdownCode ThemeYellow
hi! link markdownCodeBlock ThemeYellow
hi! link markdownCodeDelimiter ThemeYellow
hi! link markdownBlockquote ThemeGrey
hi! link markdownListMarker ThemeBlue
hi! link markdownOrderedListMarker ThemeBlue
hi! link markdownRule ThemeGrey
hi! link markdownHeadingRule ThemeGrey
hi! link markdownUrlDelimiter ThemeFg3
hi! link markdownLinkDelimiter ThemeFg3
hi! link markdownLinkTextDelimiter ThemeFg3
hi! link markdownHeadingDelimiter ThemeOrange
hi! link markdownUrlTitleDelimiter ThemeGreen
hi! link markdownLink ThemeGreen
hi! link markdownWikiLink ThemeViolet
"hi! link markdownUrl ThemeOrange
hi! link markdownUrl ThemeRed
hi! link markdownUrlProtocol ThemeGreenItalic
hi! link markdownInlineUrl ThemeOrange
hi! link markdownLinkText ThemeViolet
hi! link markdownIdDeclaration markdownLinkText
hi! link pandocAtxHeader ThemeRed
hi! link pandocAtxStart ThemeOrange
"call s:HL('markdownItalic', s:fg3, s:none, s:italic)
"call s:HL('markdownLinkText', s:gray, s:none, s:underline)
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg

1
generate.sh Executable file
View File

@@ -0,0 +1 @@
symconf -c templates/ generate -o app-config

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 KiB

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=dark :contrast=hard
# BADLANDS
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: min -- +15 | +30 | +40 | +50 -- +65
# rel :: min -- +15 | +15 | +10 | +10 -- +15
# sys :: l15 -- l30 | l45 | l55 | l65 -- l80
# app :: l20 -- l35 | l50 | l60 | l70 -- l85
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{badlands.l15}}" # < MIN >
bg1 = "f{{badlands.l20}}" # < +05 >
bg2 = "f{{badlands.l25}}" # < +10 >
bg3 = "f{{badlands.l30}}" # < +15 >
grey = "f{{badlands.l45}}" # < +30 >
red = "f{{red.l55}}" # < +40 >
orange = "f{{orange.l55}}" # < +40 >
yellow = "f{{yellow.l55}}" # < +40 >
green = "f{{green.l55}}" # < +40 >
cyan = "f{{green.l55}}" # < +40 >
blue = "f{{blue.l55}}" # < +40 >
violet = "f{{blue.l55}}" # < +40 >
magenta = "f{{red.l55}}" # < +40 >
fg3 = "f{{badlands.l65}}" # < +50 >
fg2 = "f{{badlands.l70}}" # < +55 >
fg1 = "f{{badlands.l75}}" # < +60 >
fg0 = "f{{badlands.l80}}" # < MAX >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{badlands.l85}}" # < MAX >
selection_fg = "f{{badlands.l80}}" # < -05 >
background = "f{{badlands.l20}}" # < MIN >
selection_bg = "f{{badlands.l25}}" # < +05 >
cursor = "f{{badlands.l80}}" # <MAX-5>
cursor_text = "f{{badlands.l25}}" # <MIN+5>
[term.normal]
black = "f{{badlands.l20}}" # < MIN >
red = "f{{red.l60}}" # < +40 >
green = "f{{green.l60}}" # < +40 >
yellow = "f{{yellow.l60}}" # < +40 >
blue = "f{{blue.l60}}" # < +40 >
magenta = "f{{orange.l60}}" # < +40 >
cyan = "f{{blue.l60}}" # < +40 >
white = "f{{badlands.l75}}" # < +55 >
[term.bright]
black = "f{{badlands.l30}}" # < +10 >
red = "f{{red.l70}}" # < +50 >
green = "f{{green.l70}}" # < +50 >
yellow = "f{{yellow.l70}}" # < +50 >
blue = "f{{blue.l70}}" # < +50 >
magenta = "f{{orange.l70}}" # < +50 >
cyan = "f{{blue.l70}}" # < +50 >
white = "f{{badlands.l85}}" # < MAX >
[vim]
bg0 = "f{{badlands.l20}}" # < MIN >
bg1 = "f{{badlands.l25}}" # < +05 >
bg2 = "f{{badlands.l30}}" # < +10 >
bg3 = "f{{badlands.l35}}" # < +15 >
grey = "f{{badlands.l50}}" # < +30 >
red = "f{{red.l60}}" # < +40 >
orange = "f{{orange.l60}}" # < +40 >
yellow = "f{{yellow.l60}}" # < +40 >
green = "f{{green.l60}}" # < +40 >
cyan = "f{{green.l60}}" # < +40 >
blue = "f{{blue.l60}}" # < +40 >
violet = "f{{blue.l60}}" # < +40 >
magenta = "f{{red.l60}}" # < +40 >
fg3 = "f{{badlands.l70}}" # < +50 >
fg2 = "f{{badlands.l75}}" # < +55 >
fg1 = "f{{badlands.l80}}" # < +60 >
fg0 = "f{{badlands.l85}}" # < MAX >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=light :contrast=hard
# BADLANDS
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: max -- -15 | -30 | -40 | -50 -- -65
# rel :: max -- -15 | -15 | -10 | -10 -- -15
# sys :: l90 -- l75 | l60 | l50 | l40 -- l25
# app :: l95 -- l80 | l65 | l55 | l45 -- l30
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{badlands.l90}}" # < MAX >
bg1 = "f{{badlands.l85}}" # < -05 >
bg2 = "f{{badlands.l80}}" # < -10 >
bg3 = "f{{badlands.l75}}" # < -15 >
grey = "f{{badlands.l60}}" # < -30 >
red = "f{{red.l50}}" # < -40 >
orange = "f{{orange.l50}}" # < -40 >
yellow = "f{{yellow.l50}}" # < -40 >
green = "f{{green.l50}}" # < -40 >
cyan = "f{{green.l50}}" # < -40 >
blue = "f{{blue.l50}}" # < -40 >
violet = "f{{blue.l50}}" # < -40 >
magenta = "f{{red.l50}}" # < -40 >
fg3 = "f{{badlands.l40}}" # < -50 >
fg2 = "f{{badlands.l35}}" # < -55 >
fg1 = "f{{badlands.l30}}" # < -60 >
fg0 = "f{{badlands.l25}}" # < MIN >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{badlands.l30}}" # < MIN >
selection_fg = "f{{badlands.l35}}" # < +05 >
background = "f{{badlands.l95}}" # < MAX >
selection_bg = "f{{badlands.l90}}" # < -05 >
cursor = "f{{badlands.l35}}" # <MIN+5>
cursor_text = "f{{badlands.l90}}" # <MAX-5>
[term.normal]
black = "f{{badlands.l95}}" # < MAX >
red = "f{{red.l55}}" # < -40 >
green = "f{{green.l55}}" # < -40 >
yellow = "f{{yellow.l55}}" # < -40 >
blue = "f{{blue.l55}}" # < -40 >
magenta = "f{{orange.l55}}" # < -40 >
cyan = "f{{blue.l55}}" # < -40 >
white = "f{{badlands.l40}}" # < -55 >
[term.bright]
black = "f{{badlands.l85}}" # < -10 >
red = "f{{red.l45}}" # < -50 >
green = "f{{green.l45}}" # < -50 >
yellow = "f{{yellow.l45}}" # < -50 >
blue = "f{{blue.l45}}" # < -50 >
magenta = "f{{orange.l45}}" # < -50 >
cyan = "f{{blue.l45}}" # < -50 >
white = "f{{badlands.l30}}" # < MIN >
[vim]
bg0 = "f{{badlands.l95}}" # < MAX >
bg1 = "f{{badlands.l90}}" # < -05 >
bg2 = "f{{badlands.l85}}" # < -10 >
bg3 = "f{{badlands.l80}}" # < -15 >
grey = "f{{badlands.l65}}" # < -30 >
red = "f{{red.l55}}" # < -40 >
orange = "f{{orange.l55}}" # < -40 >
yellow = "f{{yellow.l55}}" # < -40 >
green = "f{{green.l55}}" # < -40 >
cyan = "f{{green.l55}}" # < -40 >
blue = "f{{blue.l55}}" # < -40 >
violet = "f{{blue.l55}}" # < -40 >
magenta = "f{{red.l55}}" # < -40 >
fg3 = "f{{badlands.l45}}" # < -50 >
fg2 = "f{{badlands.l40}}" # < -55 >
fg1 = "f{{badlands.l35}}" # < -60 >
fg0 = "f{{badlands.l30}}" # < MIN >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=dark :contrast=hard
# CHAPARRAL
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: min -- +15 | +30 | +40 | +50 -- +65
# rel :: min -- +15 | +15 | +10 | +10 -- +15
# sys :: l15 -- l30 | l45 | l55 | l65 -- l80
# app :: l20 -- l35 | l50 | l60 | l70 -- l85
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{chaparral.l15}}" # < MIN >
bg1 = "f{{chaparral.l20}}" # < +05 >
bg2 = "f{{chaparral.l25}}" # < +10 >
bg3 = "f{{chaparral.l30}}" # < +15 >
grey = "f{{chaparral.l45}}" # < +30 >
red = "f{{red.l55}}" # < +40 >
orange = "f{{orange.l55}}" # < +40 >
yellow = "f{{yellow.l55}}" # < +40 >
green = "f{{green.l55}}" # < +40 >
cyan = "f{{green.l55}}" # < +40 >
blue = "f{{blue.l55}}" # < +40 >
violet = "f{{blue.l55}}" # < +40 >
magenta = "f{{red.l55}}" # < +40 >
fg3 = "f{{chaparral.l65}}" # < +50 >
fg2 = "f{{chaparral.l70}}" # < +55 >
fg1 = "f{{chaparral.l75}}" # < +60 >
fg0 = "f{{chaparral.l80}}" # < MAX >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{chaparral.l85}}" # < MAX >
selection_fg = "f{{chaparral.l80}}" # < -05 >
background = "f{{chaparral.l20}}" # < MIN >
selection_bg = "f{{chaparral.l25}}" # < +05 >
cursor = "f{{chaparral.l80}}" # <MAX-5>
cursor_text = "f{{chaparral.l25}}" # <MIN+5>
[term.normal]
black = "f{{chaparral.l20}}" # < MIN >
red = "f{{red.l60}}" # < +40 >
green = "f{{green.l60}}" # < +40 >
yellow = "f{{yellow.l60}}" # < +40 >
blue = "f{{blue.l60}}" # < +40 >
magenta = "f{{orange.l60}}" # < +40 >
cyan = "f{{blue.l60}}" # < +40 >
white = "f{{chaparral.l75}}" # < +55 >
[term.bright]
black = "f{{chaparral.l30}}" # < +10 >
red = "f{{red.l70}}" # < +50 >
green = "f{{green.l70}}" # < +50 >
yellow = "f{{yellow.l70}}" # < +50 >
blue = "f{{blue.l70}}" # < +50 >
magenta = "f{{orange.l70}}" # < +50 >
cyan = "f{{blue.l70}}" # < +50 >
white = "f{{chaparral.l85}}" # < MAX >
[vim]
bg0 = "f{{chaparral.l20}}" # < MIN >
bg1 = "f{{chaparral.l25}}" # < +05 >
bg2 = "f{{chaparral.l30}}" # < +10 >
bg3 = "f{{chaparral.l35}}" # < +15 >
grey = "f{{chaparral.l50}}" # < +30 >
red = "f{{red.l60}}" # < +40 >
orange = "f{{orange.l60}}" # < +40 >
yellow = "f{{yellow.l60}}" # < +40 >
green = "f{{green.l60}}" # < +40 >
cyan = "f{{green.l60}}" # < +40 >
blue = "f{{blue.l60}}" # < +40 >
violet = "f{{blue.l60}}" # < +40 >
magenta = "f{{red.l60}}" # < +40 >
fg3 = "f{{chaparral.l70}}" # < +50 >
fg2 = "f{{chaparral.l75}}" # < +55 >
fg1 = "f{{chaparral.l80}}" # < +60 >
fg0 = "f{{chaparral.l85}}" # < MAX >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=light :contrast=hard
# CHAPARRAL
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: max -- -15 | -30 | -40 | -50 -- -65
# rel :: max -- -15 | -15 | -10 | -10 -- -15
# sys :: l90 -- l75 | l60 | l50 | l40 -- l25
# app :: l95 -- l80 | l65 | l55 | l45 -- l30
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{chaparral.l90}}" # < MAX >
bg1 = "f{{chaparral.l85}}" # < -05 >
bg2 = "f{{chaparral.l80}}" # < -10 >
bg3 = "f{{chaparral.l75}}" # < -15 >
grey = "f{{chaparral.l60}}" # < -30 >
red = "f{{red.l50}}" # < -40 >
orange = "f{{orange.l50}}" # < -40 >
yellow = "f{{yellow.l50}}" # < -40 >
green = "f{{green.l50}}" # < -40 >
cyan = "f{{green.l50}}" # < -40 >
blue = "f{{blue.l50}}" # < -40 >
violet = "f{{blue.l50}}" # < -40 >
magenta = "f{{red.l50}}" # < -40 >
fg3 = "f{{chaparral.l40}}" # < -50 >
fg2 = "f{{chaparral.l35}}" # < -55 >
fg1 = "f{{chaparral.l30}}" # < -60 >
fg0 = "f{{chaparral.l25}}" # < MIN >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{chaparral.l30}}" # < MIN >
selection_fg = "f{{chaparral.l35}}" # < +05 >
background = "f{{chaparral.l95}}" # < MAX >
selection_bg = "f{{chaparral.l90}}" # < -05 >
cursor = "f{{chaparral.l35}}" # <MIN+5>
cursor_text = "f{{chaparral.l90}}" # <MAX-5>
[term.normal]
black = "f{{chaparral.l95}}" # < MAX >
red = "f{{red.l55}}" # < -40 >
green = "f{{green.l55}}" # < -40 >
yellow = "f{{yellow.l55}}" # < -40 >
blue = "f{{blue.l55}}" # < -40 >
magenta = "f{{orange.l55}}" # < -40 >
cyan = "f{{blue.l55}}" # < -40 >
white = "f{{chaparral.l40}}" # < -55 >
[term.bright]
black = "f{{chaparral.l85}}" # < -10 >
red = "f{{red.l45}}" # < -50 >
green = "f{{green.l45}}" # < -50 >
yellow = "f{{yellow.l45}}" # < -50 >
blue = "f{{blue.l45}}" # < -50 >
magenta = "f{{orange.l45}}" # < -50 >
cyan = "f{{blue.l45}}" # < -50 >
white = "f{{chaparral.l30}}" # < MIN >
[vim]
bg0 = "f{{chaparral.l95}}" # < MAX >
bg1 = "f{{chaparral.l90}}" # < -05 >
bg2 = "f{{chaparral.l85}}" # < -10 >
bg3 = "f{{chaparral.l80}}" # < -15 >
grey = "f{{chaparral.l65}}" # < -30 >
red = "f{{red.l55}}" # < -40 >
orange = "f{{orange.l55}}" # < -40 >
yellow = "f{{yellow.l55}}" # < -40 >
green = "f{{green.l55}}" # < -40 >
cyan = "f{{green.l55}}" # < -40 >
blue = "f{{blue.l55}}" # < -40 >
violet = "f{{blue.l55}}" # < -40 >
magenta = "f{{red.l55}}" # < -40 >
fg3 = "f{{chaparral.l45}}" # < -50 >
fg2 = "f{{chaparral.l40}}" # < -55 >
fg1 = "f{{chaparral.l35}}" # < -60 >
fg0 = "f{{chaparral.l30}}" # < MIN >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=dark :contrast=soft
# BADLANDS
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: min -- +15 | +30 | +40 | +50 -- +65
# rel :: min -- +15 | +15 | +10 | +10 -- +15
# sys :: l25 -- l40 | l55 | l65 | l75 -- l90
# app :: l30 -- l45 | l60 | l70 | l80 -- l95
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{badlands.l25}}" # < MIN >
bg1 = "f{{badlands.l30}}" # < +05 >
bg2 = "f{{badlands.l35}}" # < +10 >
bg3 = "f{{badlands.l30}}" # < +15 >
grey = "f{{badlands.l55}}" # < +30 >
red = "f{{red.l65}}" # < +40 >
orange = "f{{orange.l65}}" # < +40 >
yellow = "f{{yellow.l65}}" # < +40 >
green = "f{{green.l65}}" # < +40 >
cyan = "f{{green.l65}}" # < +40 >
blue = "f{{blue.l65}}" # < +40 >
violet = "f{{blue.l65}}" # < +40 >
magenta = "f{{red.l65}}" # < +40 >
fg3 = "f{{badlands.l75}}" # < +50 >
fg2 = "f{{badlands.l80}}" # < +55 >
fg1 = "f{{badlands.l85}}" # < +60 >
fg0 = "f{{badlands.l90}}" # < MAX >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{badlands.l95}}" # < MAX >
selection_fg = "f{{badlands.l90}}" # < -05 >
background = "f{{badlands.l30}}" # < MIN >
selection_bg = "f{{badlands.l35}}" # < +05 >
cursor = "f{{badlands.l90}}" # <MAX-5>
cursor_text = "f{{badlands.l35}}" # <MIN+5>
[term.normal]
black = "f{{badlands.l30}}" # < MIN >
red = "f{{red.l70}}" # < +40 >
green = "f{{green.l70}}" # < +40 >
yellow = "f{{yellow.l70}}" # < +40 >
blue = "f{{blue.l70}}" # < +40 >
magenta = "f{{orange.l70}}" # < +40 >
cyan = "f{{blue.l70}}" # < +40 >
white = "f{{badlands.l85}}" # < +55 >
[term.bright]
black = "f{{badlands.l40}}" # < +10 >
red = "f{{red.l80}}" # < +50 >
green = "f{{green.l80}}" # < +50 >
yellow = "f{{yellow.l80}}" # < +50 >
blue = "f{{blue.l80}}" # < +50 >
magenta = "f{{orange.l80}}" # < +50 >
cyan = "f{{blue.l80}}" # < +50 >
white = "f{{badlands.l95}}" # < MAX >
[vim]
bg0 = "f{{badlands.l30}}" # < MIN >
bg1 = "f{{badlands.l35}}" # < +05 >
bg2 = "f{{badlands.l40}}" # < +10 >
bg3 = "f{{badlands.l45}}" # < +15 >
grey = "f{{badlands.l60}}" # < +30 >
red = "f{{red.l70}}" # < +40 >
orange = "f{{orange.l70}}" # < +40 >
yellow = "f{{yellow.l70}}" # < +40 >
green = "f{{green.l70}}" # < +40 >
cyan = "f{{green.l70}}" # < +40 >
blue = "f{{blue.l70}}" # < +40 >
violet = "f{{blue.l70}}" # < +40 >
magenta = "f{{red.l70}}" # < +40 >
fg3 = "f{{badlands.l80}}" # < +50 >
fg2 = "f{{badlands.l85}}" # < +55 >
fg1 = "f{{badlands.l90}}" # < +60 >
fg0 = "f{{badlands.l95}}" # < MAX >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=light :contrast=soft
# BADLANDS
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: max -- -15 | -30 | -40 | -50 -- -65
# rel :: max -- -15 | -15 | -10 | -10 -- -15
# sys :: l80 -- l65 | l50 | l40 | l30 -- l15
# app :: l85 -- l70 | l55 | l45 | l35 -- l20
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{badlands.l80}}" # < MAX >
bg1 = "f{{badlands.l75}}" # < -05 >
bg2 = "f{{badlands.l70}}" # < -10 >
bg3 = "f{{badlands.l65}}" # < -15 >
grey = "f{{badlands.l50}}" # < -30 >
red = "f{{red.l40}}" # < -40 >
orange = "f{{orange.l40}}" # < -40 >
yellow = "f{{yellow.l40}}" # < -40 >
green = "f{{green.l40}}" # < -40 >
cyan = "f{{green.l40}}" # < -40 >
blue = "f{{blue.l40}}" # < -40 >
violet = "f{{blue.l40}}" # < -40 >
magenta = "f{{red.l40}}" # < -40 >
fg3 = "f{{badlands.l30}}" # < -50 >
fg2 = "f{{badlands.l25}}" # < -55 >
fg1 = "f{{badlands.l20}}" # < -60 >
fg0 = "f{{badlands.l15}}" # < MIN >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{badlands.l20}}" # < MIN >
selection_fg = "f{{badlands.l25}}" # < +05 >
background = "f{{badlands.l85}}" # < MAX >
selection_bg = "f{{badlands.l80}}" # < -05 >
cursor = "f{{badlands.l25}}" # <MIN+5>
cursor_text = "f{{badlands.l80}}" # <MAX-5>
[term.normal]
black = "f{{badlands.l85}}" # < MAX >
red = "f{{red.l45}}" # < -40 >
green = "f{{green.l45}}" # < -40 >
yellow = "f{{yellow.l45}}" # < -40 >
blue = "f{{blue.l45}}" # < -40 >
magenta = "f{{orange.l45}}" # < -40 >
cyan = "f{{blue.l45}}" # < -40 >
white = "f{{badlands.l30}}" # < -55 >
[term.bright]
black = "f{{badlands.l75}}" # < -10 >
red = "f{{red.l35}}" # < -50 >
green = "f{{green.l35}}" # < -50 >
yellow = "f{{yellow.l35}}" # < -50 >
blue = "f{{blue.l35}}" # < -50 >
magenta = "f{{orange.l35}}" # < -50 >
cyan = "f{{blue.l35}}" # < -50 >
white = "f{{badlands.l25}}" # < MIN >
[vim]
bg0 = "f{{badlands.l85}}" # < MAX >
bg1 = "f{{badlands.l80}}" # < -05 >
bg2 = "f{{badlands.l75}}" # < -10 >
bg3 = "f{{badlands.l70}}" # < -15 >
grey = "f{{badlands.l55}}" # < -30 >
red = "f{{red.l45}}" # < -40 >
orange = "f{{orange.l45}}" # < -40 >
yellow = "f{{yellow.l45}}" # < -40 >
green = "f{{green.l45}}" # < -40 >
cyan = "f{{green.l45}}" # < -40 >
blue = "f{{blue.l45}}" # < -40 >
violet = "f{{blue.l45}}" # < -40 >
magenta = "f{{red.l45}}" # < -40 >
fg3 = "f{{badlands.l35}}" # < -50 >
fg2 = "f{{badlands.l30}}" # < -55 >
fg1 = "f{{badlands.l25}}" # < -60 >
fg0 = "f{{badlands.l20}}" # < MIN >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=dark :contrast=soft
# CHAPARRAL
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: min -- +15 | +30 | +40 | +50 -- +65
# rel :: min -- +15 | +15 | +10 | +10 -- +15
# sys :: l25 -- l40 | l55 | l65 | l75 -- l90
# app :: l30 -- l45 | l60 | l70 | l80 -- l95
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{chaparral.l25}}" # < MIN >
bg1 = "f{{chaparral.l30}}" # < +05 >
bg2 = "f{{chaparral.l35}}" # < +10 >
bg3 = "f{{chaparral.l30}}" # < +15 >
grey = "f{{chaparral.l55}}" # < +30 >
red = "f{{red.l65}}" # < +40 >
orange = "f{{orange.l65}}" # < +40 >
yellow = "f{{yellow.l65}}" # < +40 >
green = "f{{green.l65}}" # < +40 >
cyan = "f{{green.l65}}" # < +40 >
blue = "f{{blue.l65}}" # < +40 >
violet = "f{{blue.l65}}" # < +40 >
magenta = "f{{red.l65}}" # < +40 >
fg3 = "f{{chaparral.l75}}" # < +50 >
fg2 = "f{{chaparral.l80}}" # < +55 >
fg1 = "f{{chaparral.l85}}" # < +60 >
fg0 = "f{{chaparral.l90}}" # < MAX >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{chaparral.l95}}" # < MAX >
selection_fg = "f{{chaparral.l90}}" # < -05 >
background = "f{{chaparral.l30}}" # < MIN >
selection_bg = "f{{chaparral.l35}}" # < +05 >
cursor = "f{{chaparral.l90}}" # <MAX-5>
cursor_text = "f{{chaparral.l35}}" # <MIN+5>
[term.normal]
black = "f{{chaparral.l30}}" # < MIN >
red = "f{{red.l70}}" # < +40 >
green = "f{{green.l70}}" # < +40 >
yellow = "f{{yellow.l70}}" # < +40 >
blue = "f{{blue.l70}}" # < +40 >
magenta = "f{{orange.l70}}" # < +40 >
cyan = "f{{blue.l70}}" # < +40 >
white = "f{{chaparral.l85}}" # < +55 >
[term.bright]
black = "f{{chaparral.l40}}" # < +10 >
red = "f{{red.l80}}" # < +50 >
green = "f{{green.l80}}" # < +50 >
yellow = "f{{yellow.l80}}" # < +50 >
blue = "f{{blue.l80}}" # < +50 >
magenta = "f{{orange.l80}}" # < +50 >
cyan = "f{{blue.l80}}" # < +50 >
white = "f{{chaparral.l95}}" # < MAX >
[vim]
bg0 = "f{{chaparral.l30}}" # < MIN >
bg1 = "f{{chaparral.l35}}" # < +05 >
bg2 = "f{{chaparral.l40}}" # < +10 >
bg3 = "f{{chaparral.l45}}" # < +15 >
grey = "f{{chaparral.l60}}" # < +30 >
red = "f{{red.l70}}" # < +40 >
orange = "f{{orange.l70}}" # < +40 >
yellow = "f{{yellow.l70}}" # < +40 >
green = "f{{green.l70}}" # < +40 >
cyan = "f{{green.l70}}" # < +40 >
blue = "f{{blue.l70}}" # < +40 >
violet = "f{{blue.l70}}" # < +40 >
magenta = "f{{red.l70}}" # < +40 >
fg3 = "f{{chaparral.l80}}" # < +50 >
fg2 = "f{{chaparral.l85}}" # < +55 >
fg1 = "f{{chaparral.l90}}" # < +60 >
fg0 = "f{{chaparral.l95}}" # < MAX >
# --------------------------------------------

View File

@@ -0,0 +1,87 @@
# - META -------------------------------------
# MONOBIOME :mode=light :contrast=soft
# CHAPARRAL
#
# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 >
# abs :: max -- -15 | -30 | -40 | -50 -- -65
# rel :: max -- -15 | -15 | -10 | -10 -- -15
# sys :: l80 -- l65 | l50 | l40 | l30 -- l15
# app :: l85 -- l70 | l55 | l45 | l35 -- l20
# --------------------------------------------
# - SYS --------------------------------------
bg0 = "f{{chaparral.l80}}" # < MAX >
bg1 = "f{{chaparral.l75}}" # < -05 >
bg2 = "f{{chaparral.l70}}" # < -10 >
bg3 = "f{{chaparral.l65}}" # < -15 >
grey = "f{{chaparral.l50}}" # < -30 >
red = "f{{red.l40}}" # < -40 >
orange = "f{{orange.l40}}" # < -40 >
yellow = "f{{yellow.l40}}" # < -40 >
green = "f{{green.l40}}" # < -40 >
cyan = "f{{green.l40}}" # < -40 >
blue = "f{{blue.l40}}" # < -40 >
violet = "f{{blue.l40}}" # < -40 >
magenta = "f{{red.l40}}" # < -40 >
fg3 = "f{{chaparral.l30}}" # < -50 >
fg2 = "f{{chaparral.l25}}" # < -55 >
fg1 = "f{{chaparral.l20}}" # < -60 >
fg0 = "f{{chaparral.l15}}" # < MIN >
# --------------------------------------------
# - APP --------------------------------------
[term]
foreground = "f{{chaparral.l20}}" # < MIN >
selection_fg = "f{{chaparral.l25}}" # < +05 >
background = "f{{chaparral.l85}}" # < MAX >
selection_bg = "f{{chaparral.l80}}" # < -05 >
cursor = "f{{chaparral.l25}}" # <MIN+5>
cursor_text = "f{{chaparral.l80}}" # <MAX-5>
[term.normal]
black = "f{{chaparral.l85}}" # < MAX >
red = "f{{red.l45}}" # < -40 >
green = "f{{green.l45}}" # < -40 >
yellow = "f{{yellow.l45}}" # < -40 >
blue = "f{{blue.l45}}" # < -40 >
magenta = "f{{orange.l45}}" # < -40 >
cyan = "f{{blue.l45}}" # < -40 >
white = "f{{chaparral.l30}}" # < -55 >
[term.bright]
black = "f{{chaparral.l75}}" # < -10 >
red = "f{{red.l35}}" # < -50 >
green = "f{{green.l35}}" # < -50 >
yellow = "f{{yellow.l35}}" # < -50 >
blue = "f{{blue.l35}}" # < -50 >
magenta = "f{{orange.l35}}" # < -50 >
cyan = "f{{blue.l35}}" # < -50 >
white = "f{{chaparral.l25}}" # < MIN >
[vim]
bg0 = "f{{chaparral.l85}}" # < MAX >
bg1 = "f{{chaparral.l80}}" # < -05 >
bg2 = "f{{chaparral.l75}}" # < -10 >
bg3 = "f{{chaparral.l70}}" # < -15 >
grey = "f{{chaparral.l55}}" # < -30 >
red = "f{{red.l45}}" # < -40 >
orange = "f{{orange.l45}}" # < -40 >
yellow = "f{{yellow.l45}}" # < -40 >
green = "f{{green.l45}}" # < -40 >
cyan = "f{{green.l45}}" # < -40 >
blue = "f{{blue.l45}}" # < -40 >
violet = "f{{blue.l45}}" # < -40 >
magenta = "f{{red.l45}}" # < -40 >
fg3 = "f{{chaparral.l35}}" # < -50 >
fg2 = "f{{chaparral.l30}}" # < -55 >
fg1 = "f{{chaparral.l25}}" # < -60 >
fg0 = "f{{chaparral.l20}}" # < MIN >
# --------------------------------------------