diff --git a/app-config/firefox/alpine-monobiome.xpi b/app-config/firefox/alpine-monobiome.xpi new file mode 100644 index 0000000..5eb363d Binary files /dev/null and b/app-config/firefox/alpine-monobiome.xpi differ diff --git a/app-config/firefox/badlands-monobiome.xpi b/app-config/firefox/badlands-monobiome.xpi new file mode 100644 index 0000000..5fa8bbc Binary files /dev/null and b/app-config/firefox/badlands-monobiome.xpi differ diff --git a/app-config/firefox/chaparral-monobiome.xpi b/app-config/firefox/chaparral-monobiome.xpi new file mode 100644 index 0000000..df8d9d2 Binary files /dev/null and b/app-config/firefox/chaparral-monobiome.xpi differ diff --git a/app-config/firefox/grassland-monobiome.xpi b/app-config/firefox/grassland-monobiome.xpi new file mode 100644 index 0000000..f2668e8 Binary files /dev/null and b/app-config/firefox/grassland-monobiome.xpi differ diff --git a/app-config/firefox/pre-v1.0.0/grassland-monobiome-dark.xpi b/app-config/firefox/pre-v1.0.0/grassland-monobiome-dark.xpi deleted file mode 100644 index 3059f2a..0000000 Binary files a/app-config/firefox/pre-v1.0.0/grassland-monobiome-dark.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/grassland-monobiome-light.xpi b/app-config/firefox/pre-v1.0.0/grassland-monobiome-light.xpi deleted file mode 100644 index b595473..0000000 Binary files a/app-config/firefox/pre-v1.0.0/grassland-monobiome-light.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/monobiome-dark.xpi b/app-config/firefox/pre-v1.0.0/monobiome-dark.xpi deleted file mode 100644 index 4b76440..0000000 Binary files a/app-config/firefox/pre-v1.0.0/monobiome-dark.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/monobiome-light.xpi b/app-config/firefox/pre-v1.0.0/monobiome-light.xpi deleted file mode 100644 index 3da2b04..0000000 Binary files a/app-config/firefox/pre-v1.0.0/monobiome-light.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/savanna-monobiome-dark.xpi b/app-config/firefox/pre-v1.0.0/savanna-monobiome-dark.xpi deleted file mode 100644 index 648d766..0000000 Binary files a/app-config/firefox/pre-v1.0.0/savanna-monobiome-dark.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/savanna-monobiome-light.xpi b/app-config/firefox/pre-v1.0.0/savanna-monobiome-light.xpi deleted file mode 100644 index ccb9497..0000000 Binary files a/app-config/firefox/pre-v1.0.0/savanna-monobiome-light.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/tundra-monobiome-dark.xpi b/app-config/firefox/pre-v1.0.0/tundra-monobiome-dark.xpi deleted file mode 100644 index 9e59833..0000000 Binary files a/app-config/firefox/pre-v1.0.0/tundra-monobiome-dark.xpi and /dev/null differ diff --git a/app-config/firefox/pre-v1.0.0/tundra-monobiome-light.xpi b/app-config/firefox/pre-v1.0.0/tundra-monobiome-light.xpi deleted file mode 100644 index 31365fc..0000000 Binary files a/app-config/firefox/pre-v1.0.0/tundra-monobiome-light.xpi and /dev/null differ diff --git a/app-config/firefox/savanna-monobiome.xpi b/app-config/firefox/savanna-monobiome.xpi new file mode 100644 index 0000000..eef94f8 Binary files /dev/null and b/app-config/firefox/savanna-monobiome.xpi differ diff --git a/app-config/firefox/tundra-monobiome.xpi b/app-config/firefox/tundra-monobiome.xpi new file mode 100644 index 0000000..cffa7b6 Binary files /dev/null and b/app-config/firefox/tundra-monobiome.xpi differ diff --git a/app-config/firefox/v1.0.2/monobiome-alpine-dark.xpi b/app-config/firefox/v1.0.2/monobiome-alpine-dark.xpi deleted file mode 100644 index b8df1c9..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-alpine-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-alpine-dark.zip b/app-config/firefox/v1.0.2/monobiome-alpine-dark.zip deleted file mode 100644 index b8df1c9..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-alpine-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-alpine-light.xpi b/app-config/firefox/v1.0.2/monobiome-alpine-light.xpi deleted file mode 100644 index fd52d57..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-alpine-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-alpine-light.zip b/app-config/firefox/v1.0.2/monobiome-alpine-light.zip deleted file mode 100644 index fd52d57..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-alpine-light.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-badlands-dark.xpi b/app-config/firefox/v1.0.2/monobiome-badlands-dark.xpi deleted file mode 100644 index 2a5ff54..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-badlands-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-badlands-dark.zip b/app-config/firefox/v1.0.2/monobiome-badlands-dark.zip deleted file mode 100644 index 2a5ff54..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-badlands-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-badlands-light.xpi b/app-config/firefox/v1.0.2/monobiome-badlands-light.xpi deleted file mode 100644 index 78b3fff..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-badlands-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-badlands-light.zip b/app-config/firefox/v1.0.2/monobiome-badlands-light.zip deleted file mode 100644 index 78b3fff..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-badlands-light.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-chaparral-dark.xpi b/app-config/firefox/v1.0.2/monobiome-chaparral-dark.xpi deleted file mode 100644 index e2b7306..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-chaparral-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-chaparral-dark.zip b/app-config/firefox/v1.0.2/monobiome-chaparral-dark.zip deleted file mode 100644 index e2b7306..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-chaparral-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-chaparral-light.xpi b/app-config/firefox/v1.0.2/monobiome-chaparral-light.xpi deleted file mode 100644 index 260e07e..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-chaparral-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-chaparral-light.zip b/app-config/firefox/v1.0.2/monobiome-chaparral-light.zip deleted file mode 100644 index 260e07e..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-chaparral-light.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-grassland-dark.xpi b/app-config/firefox/v1.0.2/monobiome-grassland-dark.xpi deleted file mode 100644 index bf210ad..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-grassland-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-grassland-dark.zip b/app-config/firefox/v1.0.2/monobiome-grassland-dark.zip deleted file mode 100644 index bf210ad..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-grassland-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-grassland-light.xpi b/app-config/firefox/v1.0.2/monobiome-grassland-light.xpi deleted file mode 100644 index 724e169..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-grassland-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-grassland-light.zip b/app-config/firefox/v1.0.2/monobiome-grassland-light.zip deleted file mode 100644 index 724e169..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-grassland-light.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-savanna-dark.xpi b/app-config/firefox/v1.0.2/monobiome-savanna-dark.xpi deleted file mode 100644 index f0dd1d6..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-savanna-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-savanna-dark.zip b/app-config/firefox/v1.0.2/monobiome-savanna-dark.zip deleted file mode 100644 index f0dd1d6..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-savanna-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-savanna-light.xpi b/app-config/firefox/v1.0.2/monobiome-savanna-light.xpi deleted file mode 100644 index 15047e2..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-savanna-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-savanna-light.zip b/app-config/firefox/v1.0.2/monobiome-savanna-light.zip deleted file mode 100644 index 15047e2..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-savanna-light.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-tundra-dark.xpi b/app-config/firefox/v1.0.2/monobiome-tundra-dark.xpi deleted file mode 100644 index 12e7ef0..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-tundra-dark.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-tundra-dark.zip b/app-config/firefox/v1.0.2/monobiome-tundra-dark.zip deleted file mode 100644 index 12e7ef0..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-tundra-dark.zip and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-tundra-light.xpi b/app-config/firefox/v1.0.2/monobiome-tundra-light.xpi deleted file mode 100644 index 3220a71..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-tundra-light.xpi and /dev/null differ diff --git a/app-config/firefox/v1.0.2/monobiome-tundra-light.zip b/app-config/firefox/v1.0.2/monobiome-tundra-light.zip deleted file mode 100644 index 3220a71..0000000 Binary files a/app-config/firefox/v1.0.2/monobiome-tundra-light.zip and /dev/null differ diff --git a/app-config/fzf/default-alpine-monobiome-dark.active.theme b/app-config/fzf/default-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..d942348 --- /dev/null +++ b/app-config/fzf/default-alpine-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#dedede + --color=fg+:#cecece + --color=bg:#222222 + --color=bg+:#2e2e2e + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2e2e2e + --color=label:#aeaeae + --color=query:#dedede + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-alpine-monobiome-light.active.theme b/app-config/fzf/default-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..0667eee --- /dev/null +++ b/app-config/fzf/default-alpine-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#222222 + --color=fg+:#2e2e2e + --color=bg:#dedede + --color=bg+:#cecece + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#cecece + --color=label:#aeaeae + --color=query:#222222 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-badlands-monobiome-dark.active.theme b/app-config/fzf/default-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..3ed1bd8 --- /dev/null +++ b/app-config/fzf/default-badlands-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#e5dbda + --color=fg+:#d5cbca + --color=bg:#27201f + --color=bg+:#332c2b + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#332c2b + --color=label:#aeaeae + --color=query:#e5dbda + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-badlands-monobiome-light.active.theme b/app-config/fzf/default-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..b0bd763 --- /dev/null +++ b/app-config/fzf/default-badlands-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#27201f + --color=fg+:#332c2b + --color=bg:#e5dbda + --color=bg+:#d5cbca + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#d5cbca + --color=label:#aeaeae + --color=query:#27201f + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-chaparral-monobiome-dark.active.theme b/app-config/fzf/default-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..c255690 --- /dev/null +++ b/app-config/fzf/default-chaparral-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#e4ddd7 + --color=fg+:#d3ccc7 + --color=bg:#26211c + --color=bg+:#322d28 + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#322d28 + --color=label:#aeaeae + --color=query:#e4ddd7 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-chaparral-monobiome-light.active.theme b/app-config/fzf/default-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..321eac7 --- /dev/null +++ b/app-config/fzf/default-chaparral-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#26211c + --color=fg+:#322d28 + --color=bg:#e4ddd7 + --color=bg+:#d3ccc7 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#d3ccc7 + --color=label:#aeaeae + --color=query:#26211c + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-grassland-monobiome-dark.active.theme b/app-config/fzf/default-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..9125e78 --- /dev/null +++ b/app-config/fzf/default-grassland-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#d9e0da + --color=fg+:#c9d0ca + --color=bg:#1e231f + --color=bg+:#2a2f2b + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2a2f2b + --color=label:#aeaeae + --color=query:#d9e0da + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-grassland-monobiome-light.active.theme b/app-config/fzf/default-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..d7e93d5 --- /dev/null +++ b/app-config/fzf/default-grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#1e231f + --color=fg+:#2a2f2b + --color=bg:#d9e0da + --color=bg+:#c9d0ca + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#c9d0ca + --color=label:#aeaeae + --color=query:#1e231f + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-savanna-monobiome-dark.active.theme b/app-config/fzf/default-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..235f294 --- /dev/null +++ b/app-config/fzf/default-savanna-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#dfded6 + --color=fg+:#cfcec6 + --color=bg:#22221c + --color=bg+:#2f2e28 + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2f2e28 + --color=label:#aeaeae + --color=query:#dfded6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-savanna-monobiome-light.active.theme b/app-config/fzf/default-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..7b741c2 --- /dev/null +++ b/app-config/fzf/default-savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#22221c + --color=fg+:#2f2e28 + --color=bg:#dfded6 + --color=bg+:#cfcec6 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#cfcec6 + --color=label:#aeaeae + --color=query:#22221c + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-tundra-monobiome-dark.active.theme b/app-config/fzf/default-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..f587e3e --- /dev/null +++ b/app-config/fzf/default-tundra-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#dadee6 + --color=fg+:#caced5 + --color=bg:#1f2227 + --color=bg+:#2b2e33 + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2b2e33 + --color=label:#aeaeae + --color=query:#dadee6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/default-tundra-monobiome-light.active.theme b/app-config/fzf/default-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..189b6e5 --- /dev/null +++ b/app-config/fzf/default-tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#1f2227 + --color=fg+:#2b2e33 + --color=bg:#dadee6 + --color=bg+:#caced5 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#caced5 + --color=label:#aeaeae + --color=query:#1f2227 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-alpine-monobiome-dark.active.theme b/app-config/fzf/hard-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..aa5794b --- /dev/null +++ b/app-config/fzf/hard-alpine-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#cecece + --color=fg+:#bebebe + --color=bg:#161616 + --color=bg+:#222222 + + --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:#222222 + --color=label:#aeaeae + --color=query:#cecece + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-alpine-monobiome-light.active.theme b/app-config/fzf/hard-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..394d7dc --- /dev/null +++ b/app-config/fzf/hard-alpine-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2e2e2e + --color=fg+:#3a3a3a + --color=bg:#eeeeee + --color=bg+:#dedede + + --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:#dedede + --color=label:#aeaeae + --color=query:#2e2e2e + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-badlands-monobiome-dark.active.theme b/app-config/fzf/hard-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..6c14ca7 --- /dev/null +++ b/app-config/fzf/hard-badlands-monobiome-dark.active.theme @@ -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="│"' + diff --git a/app-config/fzf/hard-badlands-monobiome-light.active.theme b/app-config/fzf/hard-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..e981e13 --- /dev/null +++ b/app-config/fzf/hard-badlands-monobiome-light.active.theme @@ -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="│"' + diff --git a/app-config/fzf/hard-chaparral-monobiome-dark.active.theme b/app-config/fzf/hard-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..30dccf0 --- /dev/null +++ b/app-config/fzf/hard-chaparral-monobiome-dark.active.theme @@ -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="│"' + diff --git a/app-config/fzf/hard-chaparral-monobiome-light.active.theme b/app-config/fzf/hard-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..4bb35ad --- /dev/null +++ b/app-config/fzf/hard-chaparral-monobiome-light.active.theme @@ -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="│"' + diff --git a/app-config/fzf/hard-grassland-monobiome-dark.active.theme b/app-config/fzf/hard-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..15bf0e0 --- /dev/null +++ b/app-config/fzf/hard-grassland-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#c9d0ca + --color=fg+:#b9c0ba + --color=bg:#131713 + --color=bg+:#1e231f + + --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:#1e231f + --color=label:#aeaeae + --color=query:#c9d0ca + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-grassland-monobiome-light.active.theme b/app-config/fzf/hard-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..2f05f9f --- /dev/null +++ b/app-config/fzf/hard-grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2a2f2b + --color=fg+:#373c37 + --color=bg:#eaf1ea + --color=bg+:#d9e0da + + --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:#d9e0da + --color=label:#aeaeae + --color=query:#2a2f2b + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-savanna-monobiome-dark.active.theme b/app-config/fzf/hard-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..f7aff2c --- /dev/null +++ b/app-config/fzf/hard-savanna-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#cfcec6 + --color=fg+:#bfbeb6 + --color=bg:#171611 + --color=bg+:#22221c + + --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:#22221c + --color=label:#aeaeae + --color=query:#cfcec6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-savanna-monobiome-light.active.theme b/app-config/fzf/hard-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..5979af2 --- /dev/null +++ b/app-config/fzf/hard-savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2f2e28 + --color=fg+:#3b3b34 + --color=bg:#efefe7 + --color=bg+:#dfded6 + + --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:#dfded6 + --color=label:#aeaeae + --color=query:#2f2e28 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-tundra-monobiome-dark.active.theme b/app-config/fzf/hard-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..ae50428 --- /dev/null +++ b/app-config/fzf/hard-tundra-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#caced5 + --color=fg+:#babec5 + --color=bg:#13161b + --color=bg+:#1f2227 + + --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:#1f2227 + --color=label:#aeaeae + --color=query:#caced5 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-tundra-monobiome-light.active.theme b/app-config/fzf/hard-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..2603b3d --- /dev/null +++ b/app-config/fzf/hard-tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2b2e33 + --color=fg+:#373b40 + --color=bg:#eaeff6 + --color=bg+:#dadee6 + + --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:#dadee6 + --color=label:#aeaeae + --color=query:#2b2e33 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/monobiome-alpine-dark-default.active.theme b/app-config/fzf/monobiome-alpine-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-alpine-dark-hard.active.theme b/app-config/fzf/monobiome-alpine-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-alpine-dark-soft.active.theme b/app-config/fzf/monobiome-alpine-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-alpine-light-default.active.theme b/app-config/fzf/monobiome-alpine-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-alpine-light-hard.active.theme b/app-config/fzf/monobiome-alpine-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-alpine-light-soft.active.theme b/app-config/fzf/monobiome-alpine-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-alpine-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-dark-default.active.theme b/app-config/fzf/monobiome-badlands-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-dark-hard.active.theme b/app-config/fzf/monobiome-badlands-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-dark-soft.active.theme b/app-config/fzf/monobiome-badlands-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-light-default.active.theme b/app-config/fzf/monobiome-badlands-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-light-hard.active.theme b/app-config/fzf/monobiome-badlands-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-badlands-light-soft.active.theme b/app-config/fzf/monobiome-badlands-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-badlands-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-dark-default.active.theme b/app-config/fzf/monobiome-chaparral-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-dark-hard.active.theme b/app-config/fzf/monobiome-chaparral-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-dark-soft.active.theme b/app-config/fzf/monobiome-chaparral-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-light-default.active.theme b/app-config/fzf/monobiome-chaparral-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-light-hard.active.theme b/app-config/fzf/monobiome-chaparral-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-chaparral-light-soft.active.theme b/app-config/fzf/monobiome-chaparral-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-chaparral-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-dark-default.active.theme b/app-config/fzf/monobiome-grassland-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-dark-hard.active.theme b/app-config/fzf/monobiome-grassland-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-dark-soft.active.theme b/app-config/fzf/monobiome-grassland-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-light-default.active.theme b/app-config/fzf/monobiome-grassland-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-light-hard.active.theme b/app-config/fzf/monobiome-grassland-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-grassland-light-soft.active.theme b/app-config/fzf/monobiome-grassland-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-grassland-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-dark-default.active.theme b/app-config/fzf/monobiome-savanna-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-dark-hard.active.theme b/app-config/fzf/monobiome-savanna-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-dark-soft.active.theme b/app-config/fzf/monobiome-savanna-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-light-default.active.theme b/app-config/fzf/monobiome-savanna-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-light-hard.active.theme b/app-config/fzf/monobiome-savanna-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-savanna-light-soft.active.theme b/app-config/fzf/monobiome-savanna-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-savanna-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-dark-default.active.theme b/app-config/fzf/monobiome-tundra-dark-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-dark-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-dark-hard.active.theme b/app-config/fzf/monobiome-tundra-dark-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-dark-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-dark-soft.active.theme b/app-config/fzf/monobiome-tundra-dark-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-dark-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-light-default.active.theme b/app-config/fzf/monobiome-tundra-light-default.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-light-default.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-light-hard.active.theme b/app-config/fzf/monobiome-tundra-light-hard.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-light-hard.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/monobiome-tundra-light-soft.active.theme b/app-config/fzf/monobiome-tundra-light-soft.active.theme deleted file mode 100644 index b2ce3d9..0000000 --- a/app-config/fzf/monobiome-tundra-light-soft.active.theme +++ /dev/null @@ -1,23 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:None - --color=fg+:None - --color=bg:None - --color=bg+:None - - --color=hl:None - --color=hl+:None - --color=info:None - --color=marker:None - - --color=prompt:None - --color=spinner:None - --color=pointer:None - --color=header:None - - --color=border:None - --color=label:#aeaeae - --color=query:None - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' - diff --git a/app-config/fzf/soft-alpine-monobiome-dark.active.theme b/app-config/fzf/soft-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..02a73b0 --- /dev/null +++ b/app-config/fzf/soft-alpine-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#eeeeee + --color=fg+:#dedede + --color=bg:#2e2e2e + --color=bg+:#3a3a3a + + --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:#3a3a3a + --color=label:#aeaeae + --color=query:#eeeeee + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-alpine-monobiome-light.active.theme b/app-config/fzf/soft-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..63d7b92 --- /dev/null +++ b/app-config/fzf/soft-alpine-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#161616 + --color=fg+:#222222 + --color=bg:#cecece + --color=bg+:#bebebe + + --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:#bebebe + --color=label:#aeaeae + --color=query:#161616 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-badlands-monobiome-dark.active.theme b/app-config/fzf/soft-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..0b5a6ec --- /dev/null +++ b/app-config/fzf/soft-badlands-monobiome-dark.active.theme @@ -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="│"' + diff --git a/app-config/fzf/soft-badlands-monobiome-light.active.theme b/app-config/fzf/soft-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..12ef2e5 --- /dev/null +++ b/app-config/fzf/soft-badlands-monobiome-light.active.theme @@ -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="│"' + diff --git a/app-config/fzf/soft-chaparral-monobiome-dark.active.theme b/app-config/fzf/soft-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..7c76df3 --- /dev/null +++ b/app-config/fzf/soft-chaparral-monobiome-dark.active.theme @@ -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="│"' + diff --git a/app-config/fzf/soft-chaparral-monobiome-light.active.theme b/app-config/fzf/soft-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..85865b9 --- /dev/null +++ b/app-config/fzf/soft-chaparral-monobiome-light.active.theme @@ -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="│"' + diff --git a/app-config/fzf/soft-grassland-monobiome-dark.active.theme b/app-config/fzf/soft-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..d46156d --- /dev/null +++ b/app-config/fzf/soft-grassland-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#eaf1ea + --color=fg+:#d9e0da + --color=bg:#2a2f2b + --color=bg+:#373c37 + + --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:#373c37 + --color=label:#aeaeae + --color=query:#eaf1ea + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-grassland-monobiome-light.active.theme b/app-config/fzf/soft-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..5ed6e46 --- /dev/null +++ b/app-config/fzf/soft-grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#131713 + --color=fg+:#1e231f + --color=bg:#c9d0ca + --color=bg+:#b9c0ba + + --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:#b9c0ba + --color=label:#aeaeae + --color=query:#131713 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-savanna-monobiome-dark.active.theme b/app-config/fzf/soft-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..4b8c49f --- /dev/null +++ b/app-config/fzf/soft-savanna-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#efefe7 + --color=fg+:#dfded6 + --color=bg:#2f2e28 + --color=bg+:#3b3b34 + + --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:#3b3b34 + --color=label:#aeaeae + --color=query:#efefe7 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-savanna-monobiome-light.active.theme b/app-config/fzf/soft-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..025e6eb --- /dev/null +++ b/app-config/fzf/soft-savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#171611 + --color=fg+:#22221c + --color=bg:#cfcec6 + --color=bg+:#bfbeb6 + + --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:#bfbeb6 + --color=label:#aeaeae + --color=query:#171611 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-tundra-monobiome-dark.active.theme b/app-config/fzf/soft-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..d9506bf --- /dev/null +++ b/app-config/fzf/soft-tundra-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#eaeff6 + --color=fg+:#dadee6 + --color=bg:#2b2e33 + --color=bg+:#373b40 + + --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:#373b40 + --color=label:#aeaeae + --color=query:#eaeff6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-tundra-monobiome-light.active.theme b/app-config/fzf/soft-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..072b077 --- /dev/null +++ b/app-config/fzf/soft-tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#13161b + --color=fg+:#1f2227 + --color=bg:#caced5 + --color=bg+:#babec5 + + --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:#babec5 + --color=label:#aeaeae + --color=query:#13161b + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/kitty/default-alpine-monobiome-dark.active.theme b/app-config/kitty/default-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..2d89291 --- /dev/null +++ b/app-config/kitty/default-alpine-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #222222 +foreground #dedede + +selection_background #2e2e2e +selection_foreground #cecece + +cursor #cecece +cursor_text #2e2e2e + +# black +color0 #222222 +color8 #3a3a3a + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #bebebe +color15 #dedede diff --git a/app-config/kitty/default-alpine-monobiome-light.active.theme b/app-config/kitty/default-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..b658d0f --- /dev/null +++ b/app-config/kitty/default-alpine-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dedede +foreground #222222 + +selection_background #cecece +selection_foreground #2e2e2e + +cursor #2e2e2e +cursor_text #cecece + +# black +color0 #dedede +color8 #bebebe + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3a3a3a +color15 #222222 diff --git a/app-config/kitty/default-badlands-monobiome-dark.active.theme b/app-config/kitty/default-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..7882cae --- /dev/null +++ b/app-config/kitty/default-badlands-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #27201f +foreground #e5dbda + +selection_background #332c2b +selection_foreground #d5cbca + +cursor #d5cbca +cursor_text #332c2b + +# black +color0 #27201f +color8 #403837 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #c5bbba +color15 #e5dbda diff --git a/app-config/kitty/default-badlands-monobiome-light.active.theme b/app-config/kitty/default-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..45000b8 --- /dev/null +++ b/app-config/kitty/default-badlands-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e5dbda +foreground #27201f + +selection_background #d5cbca +selection_foreground #332c2b + +cursor #332c2b +cursor_text #d5cbca + +# black +color0 #e5dbda +color8 #c5bbba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #403837 +color15 #27201f diff --git a/app-config/kitty/default-chaparral-monobiome-dark.active.theme b/app-config/kitty/default-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..619f237 --- /dev/null +++ b/app-config/kitty/default-chaparral-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #26211c +foreground #e4ddd7 + +selection_background #322d28 +selection_foreground #d3ccc7 + +cursor #d3ccc7 +cursor_text #322d28 + +# black +color0 #26211c +color8 #3f3935 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #c3bcb7 +color15 #e4ddd7 diff --git a/app-config/kitty/default-chaparral-monobiome-light.active.theme b/app-config/kitty/default-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..75b9f44 --- /dev/null +++ b/app-config/kitty/default-chaparral-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e4ddd7 +foreground #26211c + +selection_background #d3ccc7 +selection_foreground #322d28 + +cursor #322d28 +cursor_text #d3ccc7 + +# black +color0 #e4ddd7 +color8 #c3bcb7 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3f3935 +color15 #26211c diff --git a/app-config/kitty/default-grassland-monobiome-dark.active.theme b/app-config/kitty/default-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..6176a1f --- /dev/null +++ b/app-config/kitty/default-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #1e231f +foreground #d9e0da + +selection_background #2a2f2b +selection_foreground #c9d0ca + +cursor #c9d0ca +cursor_text #2a2f2b + +# black +color0 #1e231f +color8 #373c37 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #b9c0ba +color15 #d9e0da diff --git a/app-config/kitty/default-grassland-monobiome-light.active.theme b/app-config/kitty/default-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..8567a16 --- /dev/null +++ b/app-config/kitty/default-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #d9e0da +foreground #1e231f + +selection_background #c9d0ca +selection_foreground #2a2f2b + +cursor #2a2f2b +cursor_text #c9d0ca + +# black +color0 #d9e0da +color8 #b9c0ba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373c37 +color15 #1e231f diff --git a/app-config/kitty/default-savanna-monobiome-dark.active.theme b/app-config/kitty/default-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..90487b6 --- /dev/null +++ b/app-config/kitty/default-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #22221c +foreground #dfded6 + +selection_background #2f2e28 +selection_foreground #cfcec6 + +cursor #cfcec6 +cursor_text #2f2e28 + +# black +color0 #22221c +color8 #3b3b34 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #bfbeb6 +color15 #dfded6 diff --git a/app-config/kitty/default-savanna-monobiome-light.active.theme b/app-config/kitty/default-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..08f8c93 --- /dev/null +++ b/app-config/kitty/default-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dfded6 +foreground #22221c + +selection_background #cfcec6 +selection_foreground #2f2e28 + +cursor #2f2e28 +cursor_text #cfcec6 + +# black +color0 #dfded6 +color8 #bfbeb6 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3b3b34 +color15 #22221c diff --git a/app-config/kitty/default-tundra-monobiome-dark.active.theme b/app-config/kitty/default-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..ccb0e5c --- /dev/null +++ b/app-config/kitty/default-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #1f2227 +foreground #dadee6 + +selection_background #2b2e33 +selection_foreground #caced5 + +cursor #caced5 +cursor_text #2b2e33 + +# black +color0 #1f2227 +color8 #373b40 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #babec5 +color15 #dadee6 diff --git a/app-config/kitty/default-tundra-monobiome-light.active.theme b/app-config/kitty/default-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..ad465b5 --- /dev/null +++ b/app-config/kitty/default-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dadee6 +foreground #1f2227 + +selection_background #caced5 +selection_foreground #2b2e33 + +cursor #2b2e33 +cursor_text #caced5 + +# black +color0 #dadee6 +color8 #babec5 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373b40 +color15 #1f2227 diff --git a/app-config/kitty/hard-alpine-monobiome-dark.active.theme b/app-config/kitty/hard-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..551f5f3 --- /dev/null +++ b/app-config/kitty/hard-alpine-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #161616 +foreground #cecece + +selection_background #222222 +selection_foreground #bebebe + +cursor #bebebe +cursor_text #222222 + +# black +color0 #161616 +color8 #2e2e2e + +# 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 #aeaeae +color15 #cecece diff --git a/app-config/kitty/hard-alpine-monobiome-light.active.theme b/app-config/kitty/hard-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..7145062 --- /dev/null +++ b/app-config/kitty/hard-alpine-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eeeeee +foreground #2e2e2e + +selection_background #dedede +selection_foreground #3a3a3a + +cursor #3a3a3a +cursor_text #dedede + +# black +color0 #eeeeee +color8 #cecece + +# 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 #484848 +color15 #2e2e2e diff --git a/app-config/kitty/hard-badlands-monobiome-dark.active.theme b/app-config/kitty/hard-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..61e92eb --- /dev/null +++ b/app-config/kitty/hard-badlands-monobiome-dark.active.theme @@ -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 diff --git a/app-config/kitty/hard-badlands-monobiome-light.active.theme b/app-config/kitty/hard-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..69c96f3 --- /dev/null +++ b/app-config/kitty/hard-badlands-monobiome-light.active.theme @@ -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 diff --git a/app-config/kitty/hard-chaparral-monobiome-dark.active.theme b/app-config/kitty/hard-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..00537cc --- /dev/null +++ b/app-config/kitty/hard-chaparral-monobiome-dark.active.theme @@ -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 diff --git a/app-config/kitty/hard-chaparral-monobiome-light.active.theme b/app-config/kitty/hard-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..2ae5ef0 --- /dev/null +++ b/app-config/kitty/hard-chaparral-monobiome-light.active.theme @@ -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 diff --git a/app-config/kitty/hard-grassland-monobiome-dark.active.theme b/app-config/kitty/hard-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..db6e396 --- /dev/null +++ b/app-config/kitty/hard-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #131713 +foreground #c9d0ca + +selection_background #1e231f +selection_foreground #b9c0ba + +cursor #b9c0ba +cursor_text #1e231f + +# black +color0 #131713 +color8 #2a2f2b + +# 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 #a9b0aa +color15 #c9d0ca diff --git a/app-config/kitty/hard-grassland-monobiome-light.active.theme b/app-config/kitty/hard-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..667d000 --- /dev/null +++ b/app-config/kitty/hard-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaf1ea +foreground #2a2f2b + +selection_background #d9e0da +selection_foreground #373c37 + +cursor #373c37 +cursor_text #d9e0da + +# black +color0 #eaf1ea +color8 #c9d0ca + +# 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 #444944 +color15 #2a2f2b diff --git a/app-config/kitty/hard-savanna-monobiome-dark.active.theme b/app-config/kitty/hard-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..165cd7c --- /dev/null +++ b/app-config/kitty/hard-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #171611 +foreground #cfcec6 + +selection_background #22221c +selection_foreground #bfbeb6 + +cursor #bfbeb6 +cursor_text #22221c + +# black +color0 #171611 +color8 #2f2e28 + +# 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 #afaea7 +color15 #cfcec6 diff --git a/app-config/kitty/hard-savanna-monobiome-light.active.theme b/app-config/kitty/hard-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..7d8a0ee --- /dev/null +++ b/app-config/kitty/hard-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #efefe7 +foreground #2f2e28 + +selection_background #dfded6 +selection_foreground #3b3b34 + +cursor #3b3b34 +cursor_text #dfded6 + +# black +color0 #efefe7 +color8 #cfcec6 + +# 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 #484841 +color15 #2f2e28 diff --git a/app-config/kitty/hard-tundra-monobiome-dark.active.theme b/app-config/kitty/hard-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..d4a22c3 --- /dev/null +++ b/app-config/kitty/hard-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #13161b +foreground #caced5 + +selection_background #1f2227 +selection_foreground #babec5 + +cursor #babec5 +cursor_text #1f2227 + +# black +color0 #13161b +color8 #2b2e33 + +# 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 #aaaeb5 +color15 #caced5 diff --git a/app-config/kitty/hard-tundra-monobiome-light.active.theme b/app-config/kitty/hard-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..b416dab --- /dev/null +++ b/app-config/kitty/hard-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaeff6 +foreground #2b2e33 + +selection_background #dadee6 +selection_foreground #373b40 + +cursor #373b40 +cursor_text #dadee6 + +# black +color0 #eaeff6 +color8 #caced5 + +# 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 #44484e +color15 #2b2e33 diff --git a/app-config/kitty/monobiome-alpine-dark-default.active.theme b/app-config/kitty/monobiome-alpine-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-alpine-dark-hard.active.theme b/app-config/kitty/monobiome-alpine-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-alpine-dark-soft.active.theme b/app-config/kitty/monobiome-alpine-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-alpine-light-default.active.theme b/app-config/kitty/monobiome-alpine-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-alpine-light-hard.active.theme b/app-config/kitty/monobiome-alpine-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-alpine-light-soft.active.theme b/app-config/kitty/monobiome-alpine-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-alpine-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-dark-default.active.theme b/app-config/kitty/monobiome-badlands-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-dark-hard.active.theme b/app-config/kitty/monobiome-badlands-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-dark-soft.active.theme b/app-config/kitty/monobiome-badlands-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-light-default.active.theme b/app-config/kitty/monobiome-badlands-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-light-hard.active.theme b/app-config/kitty/monobiome-badlands-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-badlands-light-soft.active.theme b/app-config/kitty/monobiome-badlands-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-badlands-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-dark-default.active.theme b/app-config/kitty/monobiome-chaparral-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-dark-hard.active.theme b/app-config/kitty/monobiome-chaparral-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-dark-soft.active.theme b/app-config/kitty/monobiome-chaparral-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-light-default.active.theme b/app-config/kitty/monobiome-chaparral-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-light-hard.active.theme b/app-config/kitty/monobiome-chaparral-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-chaparral-light-soft.active.theme b/app-config/kitty/monobiome-chaparral-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-chaparral-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-dark-default.active.theme b/app-config/kitty/monobiome-grassland-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-dark-hard.active.theme b/app-config/kitty/monobiome-grassland-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-dark-soft.active.theme b/app-config/kitty/monobiome-grassland-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-light-default.active.theme b/app-config/kitty/monobiome-grassland-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-light-hard.active.theme b/app-config/kitty/monobiome-grassland-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-grassland-light-soft.active.theme b/app-config/kitty/monobiome-grassland-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-grassland-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-dark-default.active.theme b/app-config/kitty/monobiome-savanna-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-dark-hard.active.theme b/app-config/kitty/monobiome-savanna-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-dark-soft.active.theme b/app-config/kitty/monobiome-savanna-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-light-default.active.theme b/app-config/kitty/monobiome-savanna-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-light-hard.active.theme b/app-config/kitty/monobiome-savanna-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-savanna-light-soft.active.theme b/app-config/kitty/monobiome-savanna-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-savanna-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-dark-default.active.theme b/app-config/kitty/monobiome-tundra-dark-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-dark-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-dark-hard.active.theme b/app-config/kitty/monobiome-tundra-dark-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-dark-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-dark-soft.active.theme b/app-config/kitty/monobiome-tundra-dark-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-dark-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-light-default.active.theme b/app-config/kitty/monobiome-tundra-light-default.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-light-default.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-light-hard.active.theme b/app-config/kitty/monobiome-tundra-light-hard.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-light-hard.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/monobiome-tundra-light-soft.active.theme b/app-config/kitty/monobiome-tundra-light-soft.active.theme deleted file mode 100644 index 5282d75..0000000 --- a/app-config/kitty/monobiome-tundra-light-soft.active.theme +++ /dev/null @@ -1,41 +0,0 @@ -# base settings -background None -foreground None - -selection_background None -selection_foreground None - -cursor None -cursor_text None - -# black -color0 None -color8 None - -# red -color1 None -color9 None - -# green -color2 None -color10 None - -# yellow -color3 None -color11 None - -# blue -color4 None -color12 None - -# magenta (red) -color5 None -color13 None - -# cyan (blue) -color6 None -color14 None - -## white -color7 None -color15 None diff --git a/app-config/kitty/soft-alpine-monobiome-dark.active.theme b/app-config/kitty/soft-alpine-monobiome-dark.active.theme new file mode 100644 index 0000000..4cefa2f --- /dev/null +++ b/app-config/kitty/soft-alpine-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2e2e2e +foreground #eeeeee + +selection_background #3a3a3a +selection_foreground #dedede + +cursor #dedede +cursor_text #3a3a3a + +# black +color0 #2e2e2e +color8 #484848 + +# 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 #cecece +color15 #eeeeee diff --git a/app-config/kitty/soft-alpine-monobiome-light.active.theme b/app-config/kitty/soft-alpine-monobiome-light.active.theme new file mode 100644 index 0000000..d09f3e8 --- /dev/null +++ b/app-config/kitty/soft-alpine-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cecece +foreground #161616 + +selection_background #bebebe +selection_foreground #222222 + +cursor #222222 +cursor_text #bebebe + +# black +color0 #cecece +color8 #aeaeae + +# 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 #2e2e2e +color15 #222222 diff --git a/app-config/kitty/soft-badlands-monobiome-dark.active.theme b/app-config/kitty/soft-badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..ea291bd --- /dev/null +++ b/app-config/kitty/soft-badlands-monobiome-dark.active.theme @@ -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 diff --git a/app-config/kitty/soft-badlands-monobiome-light.active.theme b/app-config/kitty/soft-badlands-monobiome-light.active.theme new file mode 100644 index 0000000..f857168 --- /dev/null +++ b/app-config/kitty/soft-badlands-monobiome-light.active.theme @@ -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 diff --git a/app-config/kitty/soft-chaparral-monobiome-dark.active.theme b/app-config/kitty/soft-chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..fb904f2 --- /dev/null +++ b/app-config/kitty/soft-chaparral-monobiome-dark.active.theme @@ -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 diff --git a/app-config/kitty/soft-chaparral-monobiome-light.active.theme b/app-config/kitty/soft-chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..c516819 --- /dev/null +++ b/app-config/kitty/soft-chaparral-monobiome-light.active.theme @@ -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 diff --git a/app-config/kitty/soft-grassland-monobiome-dark.active.theme b/app-config/kitty/soft-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..2046c60 --- /dev/null +++ b/app-config/kitty/soft-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2a2f2b +foreground #eaf1ea + +selection_background #373c37 +selection_foreground #d9e0da + +cursor #d9e0da +cursor_text #373c37 + +# black +color0 #2a2f2b +color8 #444944 + +# 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 #c9d0ca +color15 #eaf1ea diff --git a/app-config/kitty/soft-grassland-monobiome-light.active.theme b/app-config/kitty/soft-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..926b2c1 --- /dev/null +++ b/app-config/kitty/soft-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #c9d0ca +foreground #131713 + +selection_background #b9c0ba +selection_foreground #1e231f + +cursor #1e231f +cursor_text #b9c0ba + +# black +color0 #c9d0ca +color8 #a9b0aa + +# 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 #2a2f2b +color15 #1e231f diff --git a/app-config/kitty/soft-savanna-monobiome-dark.active.theme b/app-config/kitty/soft-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..31fecda --- /dev/null +++ b/app-config/kitty/soft-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2f2e28 +foreground #efefe7 + +selection_background #3b3b34 +selection_foreground #dfded6 + +cursor #dfded6 +cursor_text #3b3b34 + +# black +color0 #2f2e28 +color8 #484841 + +# 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 #cfcec6 +color15 #efefe7 diff --git a/app-config/kitty/soft-savanna-monobiome-light.active.theme b/app-config/kitty/soft-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..f206960 --- /dev/null +++ b/app-config/kitty/soft-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cfcec6 +foreground #171611 + +selection_background #bfbeb6 +selection_foreground #22221c + +cursor #22221c +cursor_text #bfbeb6 + +# black +color0 #cfcec6 +color8 #afaea7 + +# 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 #2f2e28 +color15 #22221c diff --git a/app-config/kitty/soft-tundra-monobiome-dark.active.theme b/app-config/kitty/soft-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..8206324 --- /dev/null +++ b/app-config/kitty/soft-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2b2e33 +foreground #eaeff6 + +selection_background #373b40 +selection_foreground #dadee6 + +cursor #dadee6 +cursor_text #373b40 + +# black +color0 #2b2e33 +color8 #44484e + +# 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 #caced5 +color15 #eaeff6 diff --git a/app-config/kitty/soft-tundra-monobiome-light.active.theme b/app-config/kitty/soft-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..cdba2a4 --- /dev/null +++ b/app-config/kitty/soft-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #caced5 +foreground #13161b + +selection_background #babec5 +selection_foreground #1f2227 + +cursor #1f2227 +cursor_text #babec5 + +# black +color0 #caced5 +color8 #aaaeb5 + +# 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 #2b2e33 +color15 #1f2227 diff --git a/app-config/nvim/monobiome-alpine-dark-default.theme.vim b/app-config/nvim/default-alpine-monobiome-dark.theme.vim similarity index 95% rename from app-config/nvim/monobiome-alpine-dark-default.theme.vim rename to app-config/nvim/default-alpine-monobiome-dark.theme.vim index bcdf8a5..e63375b 100644 --- a/app-config/nvim/monobiome-alpine-dark-default.theme.vim +++ b/app-config/nvim/default-alpine-monobiome-dark.theme.vim @@ -31,40 +31,40 @@ " built-in LSP hover info. " GUI color definitions -let s:gui00 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" +let s:gui00 = "#222222" +let g:base16_gui00 = "#222222" +let s:gui01 = "#2e2e2e" +let g:base16_gui01 = "#2e2e2e" +let s:gui02 = "#3a3a3a" +let g:base16_gui02 = "#3a3a3a" +let s:gui03 = "#484848" +let g:base16_gui03 = "#484848" +let s:gui04 = "#aeaeae" +let g:base16_gui04 = "#aeaeae" +let s:gui05 = "#bebebe" +let g:base16_gui05 = "#bebebe" +let s:gui06 = "#cecece" +let g:base16_gui06 = "#cecece" +let s:gui07 = "#dedede" +let g:base16_gui07 = "#dedede" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" -let s:grey = "None" +let s:grey = "#717171" " Terminal color definitions let s:cterm00 = "00" @@ -103,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" + let g:terminal_color_0 = "#222222" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#bebebe" + let g:terminal_color_8 = "#484848" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#dedede" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -129,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", + \ "#222222", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#bebebe", + \ "#484848", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#dedede", \ ] endif diff --git a/app-config/nvim/monobiome-alpine-dark-hard.theme.vim b/app-config/nvim/default-alpine-monobiome-light.theme.vim similarity index 95% rename from app-config/nvim/monobiome-alpine-dark-hard.theme.vim rename to app-config/nvim/default-alpine-monobiome-light.theme.vim index bcdf8a5..4bafcd7 100644 --- a/app-config/nvim/monobiome-alpine-dark-hard.theme.vim +++ b/app-config/nvim/default-alpine-monobiome-light.theme.vim @@ -31,40 +31,40 @@ " built-in LSP hover info. " GUI color definitions -let s:gui00 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" +let s:gui00 = "#dedede" +let g:base16_gui00 = "#dedede" +let s:gui01 = "#cecece" +let g:base16_gui01 = "#cecece" +let s:gui02 = "#bebebe" +let g:base16_gui02 = "#bebebe" +let s:gui03 = "#aeaeae" +let g:base16_gui03 = "#aeaeae" +let s:gui04 = "#484848" +let g:base16_gui04 = "#484848" +let s:gui05 = "#3a3a3a" +let g:base16_gui05 = "#3a3a3a" +let s:gui06 = "#2e2e2e" +let g:base16_gui06 = "#2e2e2e" +let s:gui07 = "#222222" +let g:base16_gui07 = "#222222" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "None" +let s:grey = "#808080" " Terminal color definitions let s:cterm00 = "00" @@ -103,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" + let g:terminal_color_0 = "#dedede" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#3a3a3a" + let g:terminal_color_8 = "#aeaeae" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#222222" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -129,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", + \ "#dedede", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#3a3a3a", + \ "#aeaeae", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#222222", \ ] endif diff --git a/app-config/nvim/monobiome-alpine-dark-soft.theme.vim b/app-config/nvim/default-badlands-monobiome-dark.theme.vim similarity index 95% rename from app-config/nvim/monobiome-alpine-dark-soft.theme.vim rename to app-config/nvim/default-badlands-monobiome-dark.theme.vim index bcdf8a5..07f49bf 100644 --- a/app-config/nvim/monobiome-alpine-dark-soft.theme.vim +++ b/app-config/nvim/default-badlands-monobiome-dark.theme.vim @@ -31,40 +31,40 @@ " built-in LSP hover info. " GUI color definitions -let s:gui00 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" +let s:gui00 = "#27201f" +let g:base16_gui00 = "#27201f" +let s:gui01 = "#332c2b" +let g:base16_gui01 = "#332c2b" +let s:gui02 = "#403837" +let g:base16_gui02 = "#403837" +let s:gui03 = "#4d4644" +let g:base16_gui03 = "#4d4644" +let s:gui04 = "#b5abaa" +let g:base16_gui04 = "#b5abaa" +let s:gui05 = "#c5bbba" +let g:base16_gui05 = "#c5bbba" +let s:gui06 = "#d5cbca" +let g:base16_gui06 = "#d5cbca" +let s:gui07 = "#e5dbda" +let g:base16_gui07 = "#e5dbda" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" -let s:grey = "None" +let s:grey = "#786f6e" " Terminal color definitions let s:cterm00 = "00" @@ -103,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" + let g:terminal_color_0 = "#27201f" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#c5bbba" + let g:terminal_color_8 = "#4d4644" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#e5dbda" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -129,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", + \ "#27201f", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#c5bbba", + \ "#4d4644", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#e5dbda", \ ] endif diff --git a/app-config/nvim/monobiome-alpine-light-default.theme.vim b/app-config/nvim/default-badlands-monobiome-light.theme.vim similarity index 95% rename from app-config/nvim/monobiome-alpine-light-default.theme.vim rename to app-config/nvim/default-badlands-monobiome-light.theme.vim index bcdf8a5..85245dd 100644 --- a/app-config/nvim/monobiome-alpine-light-default.theme.vim +++ b/app-config/nvim/default-badlands-monobiome-light.theme.vim @@ -31,40 +31,40 @@ " built-in LSP hover info. " GUI color definitions -let s:gui00 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" +let s:gui00 = "#e5dbda" +let g:base16_gui00 = "#e5dbda" +let s:gui01 = "#d5cbca" +let g:base16_gui01 = "#d5cbca" +let s:gui02 = "#c5bbba" +let g:base16_gui02 = "#c5bbba" +let s:gui03 = "#b5abaa" +let g:base16_gui03 = "#b5abaa" +let s:gui04 = "#4d4644" +let g:base16_gui04 = "#4d4644" +let s:gui05 = "#403837" +let g:base16_gui05 = "#403837" +let s:gui06 = "#332c2b" +let g:base16_gui06 = "#332c2b" +let s:gui07 = "#27201f" +let g:base16_gui07 = "#27201f" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "None" +let s:grey = "#877e7c" " Terminal color definitions let s:cterm00 = "00" @@ -103,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" + let g:terminal_color_0 = "#e5dbda" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#403837" + let g:terminal_color_8 = "#b5abaa" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#27201f" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -129,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", + \ "#e5dbda", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#403837", + \ "#b5abaa", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#27201f", \ ] endif diff --git a/app-config/nvim/default-chaparral-monobiome-dark.theme.vim b/app-config/nvim/default-chaparral-monobiome-dark.theme.vim new file mode 100644 index 0000000..ebeecb2 --- /dev/null +++ b/app-config/nvim/default-chaparral-monobiome-dark.theme.vim @@ -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 = "#26211c" +let g:base16_gui00 = "#26211c" +let s:gui01 = "#322d28" +let g:base16_gui01 = "#322d28" +let s:gui02 = "#3f3935" +let g:base16_gui02 = "#3f3935" +let s:gui03 = "#4c4642" +let g:base16_gui03 = "#4c4642" +let s:gui04 = "#b3ada7" +let g:base16_gui04 = "#b3ada7" +let s:gui05 = "#c3bcb7" +let g:base16_gui05 = "#c3bcb7" +let s:gui06 = "#d3ccc7" +let g:base16_gui06 = "#d3ccc7" +let s:gui07 = "#e4ddd7" +let g:base16_gui07 = "#e4ddd7" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +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 = "#26211c" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#c3bcb7" + let g:terminal_color_8 = "#4c4642" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#e4ddd7" + 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 = [ + \ "#26211c", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#c3bcb7", + \ "#4c4642", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#e4ddd7", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-chaparral-monobiome-light.theme.vim b/app-config/nvim/default-chaparral-monobiome-light.theme.vim new file mode 100644 index 0000000..5b6cc3a --- /dev/null +++ b/app-config/nvim/default-chaparral-monobiome-light.theme.vim @@ -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 = "#e4ddd7" +let g:base16_gui00 = "#e4ddd7" +let s:gui01 = "#d3ccc7" +let g:base16_gui01 = "#d3ccc7" +let s:gui02 = "#c3bcb7" +let g:base16_gui02 = "#c3bcb7" +let s:gui03 = "#b3ada7" +let g:base16_gui03 = "#b3ada7" +let s:gui04 = "#4c4642" +let g:base16_gui04 = "#4c4642" +let s:gui05 = "#3f3935" +let g:base16_gui05 = "#3f3935" +let s:gui06 = "#322d28" +let g:base16_gui06 = "#322d28" +let s:gui07 = "#26211c" +let g:base16_gui07 = "#26211c" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +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 = "#e4ddd7" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#3f3935" + let g:terminal_color_8 = "#b3ada7" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#26211c" + 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 = [ + \ "#e4ddd7", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#3f3935", + \ "#b3ada7", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#26211c", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-grassland-monobiome-dark.theme.vim b/app-config/nvim/default-grassland-monobiome-dark.theme.vim new file mode 100644 index 0000000..1cc51fe --- /dev/null +++ b/app-config/nvim/default-grassland-monobiome-dark.theme.vim @@ -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 = "#1e231f" +let g:base16_gui00 = "#1e231f" +let s:gui01 = "#2a2f2b" +let g:base16_gui01 = "#2a2f2b" +let s:gui02 = "#373c37" +let g:base16_gui02 = "#373c37" +let s:gui03 = "#444944" +let g:base16_gui03 = "#444944" +let s:gui04 = "#a9b0aa" +let g:base16_gui04 = "#a9b0aa" +let s:gui05 = "#b9c0ba" +let g:base16_gui05 = "#b9c0ba" +let s:gui06 = "#c9d0ca" +let g:base16_gui06 = "#c9d0ca" +let s:gui07 = "#d9e0da" +let g:base16_gui07 = "#d9e0da" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +let s:grey = "#6d736e" + +" 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 = "#1e231f" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#b9c0ba" + let g:terminal_color_8 = "#444944" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#d9e0da" + 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 = [ + \ "#1e231f", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#b9c0ba", + \ "#444944", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#d9e0da", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-grassland-monobiome-light.theme.vim b/app-config/nvim/default-grassland-monobiome-light.theme.vim new file mode 100644 index 0000000..e40240d --- /dev/null +++ b/app-config/nvim/default-grassland-monobiome-light.theme.vim @@ -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 = "#d9e0da" +let g:base16_gui00 = "#d9e0da" +let s:gui01 = "#c9d0ca" +let g:base16_gui01 = "#c9d0ca" +let s:gui02 = "#b9c0ba" +let g:base16_gui02 = "#b9c0ba" +let s:gui03 = "#a9b0aa" +let g:base16_gui03 = "#a9b0aa" +let s:gui04 = "#444944" +let g:base16_gui04 = "#444944" +let s:gui05 = "#373c37" +let g:base16_gui05 = "#373c37" +let s:gui06 = "#2a2f2b" +let g:base16_gui06 = "#2a2f2b" +let s:gui07 = "#1e231f" +let g:base16_gui07 = "#1e231f" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +let s:grey = "#7c827d" + +" 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 = "#d9e0da" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#373c37" + let g:terminal_color_8 = "#a9b0aa" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#1e231f" + 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 = [ + \ "#d9e0da", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#373c37", + \ "#a9b0aa", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#1e231f", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-savanna-monobiome-dark.theme.vim b/app-config/nvim/default-savanna-monobiome-dark.theme.vim new file mode 100644 index 0000000..f684252 --- /dev/null +++ b/app-config/nvim/default-savanna-monobiome-dark.theme.vim @@ -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 = "#22221c" +let g:base16_gui00 = "#22221c" +let s:gui01 = "#2f2e28" +let g:base16_gui01 = "#2f2e28" +let s:gui02 = "#3b3b34" +let g:base16_gui02 = "#3b3b34" +let s:gui03 = "#484841" +let g:base16_gui03 = "#484841" +let s:gui04 = "#afaea7" +let g:base16_gui04 = "#afaea7" +let s:gui05 = "#bfbeb6" +let g:base16_gui05 = "#bfbeb6" +let s:gui06 = "#cfcec6" +let g:base16_gui06 = "#cfcec6" +let s:gui07 = "#dfded6" +let g:base16_gui07 = "#dfded6" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +let s:grey = "#72726b" + +" 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 = "#22221c" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#bfbeb6" + let g:terminal_color_8 = "#484841" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#dfded6" + 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 = [ + \ "#22221c", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#bfbeb6", + \ "#484841", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#dfded6", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-savanna-monobiome-light.theme.vim b/app-config/nvim/default-savanna-monobiome-light.theme.vim new file mode 100644 index 0000000..93005d9 --- /dev/null +++ b/app-config/nvim/default-savanna-monobiome-light.theme.vim @@ -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 = "#dfded6" +let g:base16_gui00 = "#dfded6" +let s:gui01 = "#cfcec6" +let g:base16_gui01 = "#cfcec6" +let s:gui02 = "#bfbeb6" +let g:base16_gui02 = "#bfbeb6" +let s:gui03 = "#afaea7" +let g:base16_gui03 = "#afaea7" +let s:gui04 = "#484841" +let g:base16_gui04 = "#484841" +let s:gui05 = "#3b3b34" +let g:base16_gui05 = "#3b3b34" +let s:gui06 = "#2f2e28" +let g:base16_gui06 = "#2f2e28" +let s:gui07 = "#22221c" +let g:base16_gui07 = "#22221c" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +let s:grey = "#818179" + +" 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 = "#dfded6" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#3b3b34" + let g:terminal_color_8 = "#afaea7" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#22221c" + 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 = [ + \ "#dfded6", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#3b3b34", + \ "#afaea7", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#22221c", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-tundra-monobiome-dark.theme.vim b/app-config/nvim/default-tundra-monobiome-dark.theme.vim new file mode 100644 index 0000000..7c8e781 --- /dev/null +++ b/app-config/nvim/default-tundra-monobiome-dark.theme.vim @@ -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 = "#1f2227" +let g:base16_gui00 = "#1f2227" +let s:gui01 = "#2b2e33" +let g:base16_gui01 = "#2b2e33" +let s:gui02 = "#373b40" +let g:base16_gui02 = "#373b40" +let s:gui03 = "#44484e" +let g:base16_gui03 = "#44484e" +let s:gui04 = "#aaaeb5" +let g:base16_gui04 = "#aaaeb5" +let s:gui05 = "#babec5" +let g:base16_gui05 = "#babec5" +let s:gui06 = "#caced5" +let g:base16_gui06 = "#caced5" +let s:gui07 = "#dadee6" +let g:base16_gui07 = "#dadee6" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +let s:grey = "#6e7278" + +" 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 = "#1f2227" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#babec5" + let g:terminal_color_8 = "#44484e" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#dadee6" + 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 = [ + \ "#1f2227", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#babec5", + \ "#44484e", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#dadee6", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/default-tundra-monobiome-light.theme.vim b/app-config/nvim/default-tundra-monobiome-light.theme.vim new file mode 100644 index 0000000..9d4264a --- /dev/null +++ b/app-config/nvim/default-tundra-monobiome-light.theme.vim @@ -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 = "#dadee6" +let g:base16_gui00 = "#dadee6" +let s:gui01 = "#caced5" +let g:base16_gui01 = "#caced5" +let s:gui02 = "#babec5" +let g:base16_gui02 = "#babec5" +let s:gui03 = "#aaaeb5" +let g:base16_gui03 = "#aaaeb5" +let s:gui04 = "#44484e" +let g:base16_gui04 = "#44484e" +let s:gui05 = "#373b40" +let g:base16_gui05 = "#373b40" +let s:gui06 = "#2b2e33" +let g:base16_gui06 = "#2b2e33" +let s:gui07 = "#1f2227" +let g:base16_gui07 = "#1f2227" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +let s:grey = "#7d8087" + +" 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 = "#dadee6" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#373b40" + let g:terminal_color_8 = "#aaaeb5" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#1f2227" + 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 = [ + \ "#dadee6", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#373b40", + \ "#aaaeb5", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#1f2227", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-alpine-monobiome-dark.theme.vim b/app-config/nvim/hard-alpine-monobiome-dark.theme.vim new file mode 100644 index 0000000..5231756 --- /dev/null +++ b/app-config/nvim/hard-alpine-monobiome-dark.theme.vim @@ -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 = "#161616" +let g:base16_gui00 = "#161616" +let s:gui01 = "#222222" +let g:base16_gui01 = "#222222" +let s:gui02 = "#2e2e2e" +let g:base16_gui02 = "#2e2e2e" +let s:gui03 = "#3a3a3a" +let g:base16_gui03 = "#3a3a3a" +let s:gui04 = "#9e9e9e" +let g:base16_gui04 = "#9e9e9e" +let s:gui05 = "#aeaeae" +let g:base16_gui05 = "#aeaeae" +let s:gui06 = "#bebebe" +let g:base16_gui06 = "#bebebe" +let s:gui07 = "#cecece" +let g:base16_gui07 = "#cecece" +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 = "#636363" + +" 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 = "#161616" + 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 = "#aeaeae" + let g:terminal_color_8 = "#3a3a3a" + 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 = "#cecece" + 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 = [ + \ "#161616", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#aeaeae", + \ "#3a3a3a", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#cecece", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-alpine-monobiome-light.theme.vim b/app-config/nvim/hard-alpine-monobiome-light.theme.vim new file mode 100644 index 0000000..8fca035 --- /dev/null +++ b/app-config/nvim/hard-alpine-monobiome-light.theme.vim @@ -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 = "#eeeeee" +let g:base16_gui00 = "#eeeeee" +let s:gui01 = "#dedede" +let g:base16_gui01 = "#dedede" +let s:gui02 = "#cecece" +let g:base16_gui02 = "#cecece" +let s:gui03 = "#bebebe" +let g:base16_gui03 = "#bebebe" +let s:gui04 = "#555555" +let g:base16_gui04 = "#555555" +let s:gui05 = "#484848" +let g:base16_gui05 = "#484848" +let s:gui06 = "#3a3a3a" +let g:base16_gui06 = "#3a3a3a" +let s:gui07 = "#2e2e2e" +let g:base16_gui07 = "#2e2e2e" +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 = "#8f8f8f" + +" 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 = "#eeeeee" + 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 = "#484848" + let g:terminal_color_8 = "#bebebe" + 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 = "#2e2e2e" + 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 = [ + \ "#eeeeee", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#484848", + \ "#bebebe", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#2e2e2e", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-badlands-monobiome-dark.theme.vim b/app-config/nvim/hard-badlands-monobiome-dark.theme.vim new file mode 100644 index 0000000..82f1bd3 --- /dev/null +++ b/app-config/nvim/hard-badlands-monobiome-dark.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-badlands-monobiome-light.theme.vim b/app-config/nvim/hard-badlands-monobiome-light.theme.vim new file mode 100644 index 0000000..7c92d0f --- /dev/null +++ b/app-config/nvim/hard-badlands-monobiome-light.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-chaparral-monobiome-dark.theme.vim b/app-config/nvim/hard-chaparral-monobiome-dark.theme.vim new file mode 100644 index 0000000..889e759 --- /dev/null +++ b/app-config/nvim/hard-chaparral-monobiome-dark.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-chaparral-monobiome-light.theme.vim b/app-config/nvim/hard-chaparral-monobiome-light.theme.vim new file mode 100644 index 0000000..9d4ff43 --- /dev/null +++ b/app-config/nvim/hard-chaparral-monobiome-light.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-grassland-monobiome-dark.theme.vim b/app-config/nvim/hard-grassland-monobiome-dark.theme.vim new file mode 100644 index 0000000..2e36fff --- /dev/null +++ b/app-config/nvim/hard-grassland-monobiome-dark.theme.vim @@ -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 = "#131713" +let g:base16_gui00 = "#131713" +let s:gui01 = "#1e231f" +let g:base16_gui01 = "#1e231f" +let s:gui02 = "#2a2f2b" +let g:base16_gui02 = "#2a2f2b" +let s:gui03 = "#373c37" +let g:base16_gui03 = "#373c37" +let s:gui04 = "#9aa09b" +let g:base16_gui04 = "#9aa09b" +let s:gui05 = "#a9b0aa" +let g:base16_gui05 = "#a9b0aa" +let s:gui06 = "#b9c0ba" +let g:base16_gui06 = "#b9c0ba" +let s:gui07 = "#c9d0ca" +let g:base16_gui07 = "#c9d0ca" +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 = "#5f6560" + +" 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 = "#131713" + 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 = "#a9b0aa" + let g:terminal_color_8 = "#373c37" + 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 = "#c9d0ca" + 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 = [ + \ "#131713", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#a9b0aa", + \ "#373c37", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#c9d0ca", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-grassland-monobiome-light.theme.vim b/app-config/nvim/hard-grassland-monobiome-light.theme.vim new file mode 100644 index 0000000..fdf3b84 --- /dev/null +++ b/app-config/nvim/hard-grassland-monobiome-light.theme.vim @@ -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 = "#eaf1ea" +let g:base16_gui00 = "#eaf1ea" +let s:gui01 = "#d9e0da" +let g:base16_gui01 = "#d9e0da" +let s:gui02 = "#c9d0ca" +let g:base16_gui02 = "#c9d0ca" +let s:gui03 = "#b9c0ba" +let g:base16_gui03 = "#b9c0ba" +let s:gui04 = "#515752" +let g:base16_gui04 = "#515752" +let s:gui05 = "#444944" +let g:base16_gui05 = "#444944" +let s:gui06 = "#373c37" +let g:base16_gui06 = "#373c37" +let s:gui07 = "#2a2f2b" +let g:base16_gui07 = "#2a2f2b" +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 = "#8b918b" + +" 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 = "#eaf1ea" + 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 = "#444944" + let g:terminal_color_8 = "#b9c0ba" + 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 = "#2a2f2b" + 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 = [ + \ "#eaf1ea", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#444944", + \ "#b9c0ba", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#2a2f2b", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-savanna-monobiome-dark.theme.vim b/app-config/nvim/hard-savanna-monobiome-dark.theme.vim new file mode 100644 index 0000000..ed95a7f --- /dev/null +++ b/app-config/nvim/hard-savanna-monobiome-dark.theme.vim @@ -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 = "#171611" +let g:base16_gui00 = "#171611" +let s:gui01 = "#22221c" +let g:base16_gui01 = "#22221c" +let s:gui02 = "#2f2e28" +let g:base16_gui02 = "#2f2e28" +let s:gui03 = "#3b3b34" +let g:base16_gui03 = "#3b3b34" +let s:gui04 = "#9f9f97" +let g:base16_gui04 = "#9f9f97" +let s:gui05 = "#afaea7" +let g:base16_gui05 = "#afaea7" +let s:gui06 = "#bfbeb6" +let g:base16_gui06 = "#bfbeb6" +let s:gui07 = "#cfcec6" +let g:base16_gui07 = "#cfcec6" +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 = "#64645d" + +" 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 = "#171611" + 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 = "#afaea7" + let g:terminal_color_8 = "#3b3b34" + 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 = "#cfcec6" + 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 = [ + \ "#171611", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#afaea7", + \ "#3b3b34", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#cfcec6", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-savanna-monobiome-light.theme.vim b/app-config/nvim/hard-savanna-monobiome-light.theme.vim new file mode 100644 index 0000000..8ef5c4a --- /dev/null +++ b/app-config/nvim/hard-savanna-monobiome-light.theme.vim @@ -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 = "#efefe7" +let g:base16_gui00 = "#efefe7" +let s:gui01 = "#dfded6" +let g:base16_gui01 = "#dfded6" +let s:gui02 = "#cfcec6" +let g:base16_gui02 = "#cfcec6" +let s:gui03 = "#bfbeb6" +let g:base16_gui03 = "#bfbeb6" +let s:gui04 = "#56564f" +let g:base16_gui04 = "#56564f" +let s:gui05 = "#484841" +let g:base16_gui05 = "#484841" +let s:gui06 = "#3b3b34" +let g:base16_gui06 = "#3b3b34" +let s:gui07 = "#2f2e28" +let g:base16_gui07 = "#2f2e28" +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 = "#909088" + +" 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 = "#efefe7" + 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 = "#484841" + let g:terminal_color_8 = "#bfbeb6" + 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 = "#2f2e28" + 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 = [ + \ "#efefe7", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#484841", + \ "#bfbeb6", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#2f2e28", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-tundra-monobiome-dark.theme.vim b/app-config/nvim/hard-tundra-monobiome-dark.theme.vim new file mode 100644 index 0000000..facb1f3 --- /dev/null +++ b/app-config/nvim/hard-tundra-monobiome-dark.theme.vim @@ -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 = "#13161b" +let g:base16_gui00 = "#13161b" +let s:gui01 = "#1f2227" +let g:base16_gui01 = "#1f2227" +let s:gui02 = "#2b2e33" +let g:base16_gui02 = "#2b2e33" +let s:gui03 = "#373b40" +let g:base16_gui03 = "#373b40" +let s:gui04 = "#9b9fa5" +let g:base16_gui04 = "#9b9fa5" +let s:gui05 = "#aaaeb5" +let g:base16_gui05 = "#aaaeb5" +let s:gui06 = "#babec5" +let g:base16_gui06 = "#babec5" +let s:gui07 = "#caced5" +let g:base16_gui07 = "#caced5" +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 = "#60636a" + +" 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 = "#13161b" + 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 = "#aaaeb5" + let g:terminal_color_8 = "#373b40" + 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 = "#caced5" + 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 = [ + \ "#13161b", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#aaaeb5", + \ "#373b40", + \ "#dc4234", + \ "#4f925a", + \ "#888346", + \ "#557ecc", + \ "#557ecc", + \ "#4f925a", + \ "#caced5", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/hard-tundra-monobiome-light.theme.vim b/app-config/nvim/hard-tundra-monobiome-light.theme.vim new file mode 100644 index 0000000..f37fb9f --- /dev/null +++ b/app-config/nvim/hard-tundra-monobiome-light.theme.vim @@ -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 = "#eaeff6" +let g:base16_gui00 = "#eaeff6" +let s:gui01 = "#dadee6" +let g:base16_gui01 = "#dadee6" +let s:gui02 = "#caced5" +let g:base16_gui02 = "#caced5" +let s:gui03 = "#babec5" +let g:base16_gui03 = "#babec5" +let s:gui04 = "#52555c" +let g:base16_gui04 = "#52555c" +let s:gui05 = "#44484e" +let g:base16_gui05 = "#44484e" +let s:gui06 = "#373b40" +let g:base16_gui06 = "#373b40" +let s:gui07 = "#2b2e33" +let g:base16_gui07 = "#2b2e33" +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 = "#8b8f96" + +" 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 = "#eaeff6" + 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 = "#44484e" + let g:terminal_color_8 = "#babec5" + 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 = "#2b2e33" + 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 = [ + \ "#eaeff6", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#44484e", + \ "#babec5", + \ "#ca2f24", + \ "#42824e", + \ "#79743d", + \ "#456fbe", + \ "#456fbe", + \ "#42824e", + \ "#2b2e33", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/monobiome-alpine-light-hard.theme.vim b/app-config/nvim/monobiome-alpine-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-alpine-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-alpine-light-soft.theme.vim b/app-config/nvim/monobiome-alpine-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-alpine-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-dark-default.theme.vim b/app-config/nvim/monobiome-badlands-dark-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-dark-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-dark-hard.theme.vim b/app-config/nvim/monobiome-badlands-dark-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-dark-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-dark-soft.theme.vim b/app-config/nvim/monobiome-badlands-dark-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-dark-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-light-default.theme.vim b/app-config/nvim/monobiome-badlands-light-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-light-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-light-hard.theme.vim b/app-config/nvim/monobiome-badlands-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-badlands-light-soft.theme.vim b/app-config/nvim/monobiome-badlands-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-badlands-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-dark-default.theme.vim b/app-config/nvim/monobiome-chaparral-dark-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-dark-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-dark-hard.theme.vim b/app-config/nvim/monobiome-chaparral-dark-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-dark-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-dark-soft.theme.vim b/app-config/nvim/monobiome-chaparral-dark-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-dark-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-light-default.theme.vim b/app-config/nvim/monobiome-chaparral-light-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-light-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-light-hard.theme.vim b/app-config/nvim/monobiome-chaparral-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-chaparral-light-soft.theme.vim b/app-config/nvim/monobiome-chaparral-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-chaparral-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-dark-default.theme.vim b/app-config/nvim/monobiome-grassland-dark-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-dark-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-dark-hard.theme.vim b/app-config/nvim/monobiome-grassland-dark-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-dark-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-dark-soft.theme.vim b/app-config/nvim/monobiome-grassland-dark-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-dark-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-light-default.theme.vim b/app-config/nvim/monobiome-grassland-light-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-light-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-light-hard.theme.vim b/app-config/nvim/monobiome-grassland-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-grassland-light-soft.theme.vim b/app-config/nvim/monobiome-grassland-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-grassland-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-dark-default.theme.vim b/app-config/nvim/monobiome-savanna-dark-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-dark-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-dark-hard.theme.vim b/app-config/nvim/monobiome-savanna-dark-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-dark-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-dark-soft.theme.vim b/app-config/nvim/monobiome-savanna-dark-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-dark-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-light-default.theme.vim b/app-config/nvim/monobiome-savanna-light-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-light-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-light-hard.theme.vim b/app-config/nvim/monobiome-savanna-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-savanna-light-soft.theme.vim b/app-config/nvim/monobiome-savanna-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-savanna-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-dark-default.theme.vim b/app-config/nvim/monobiome-tundra-dark-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-dark-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-dark-hard.theme.vim b/app-config/nvim/monobiome-tundra-dark-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-dark-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-dark-soft.theme.vim b/app-config/nvim/monobiome-tundra-dark-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-dark-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-light-default.theme.vim b/app-config/nvim/monobiome-tundra-light-default.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-light-default.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-light-hard.theme.vim b/app-config/nvim/monobiome-tundra-light-hard.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-light-hard.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/monobiome-tundra-light-soft.theme.vim b/app-config/nvim/monobiome-tundra-light-soft.theme.vim deleted file mode 100644 index bcdf8a5..0000000 --- a/app-config/nvim/monobiome-tundra-light-soft.theme.vim +++ /dev/null @@ -1,995 +0,0 @@ -" 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 = "None" -let g:base16_gui00 = "None" -let s:gui01 = "None" -let g:base16_gui01 = "None" -let s:gui02 = "None" -let g:base16_gui02 = "None" -let s:gui03 = "None" -let g:base16_gui03 = "None" -let s:gui04 = "None" -let g:base16_gui04 = "None" -let s:gui05 = "None" -let g:base16_gui05 = "None" -let s:gui06 = "None" -let g:base16_gui06 = "None" -let s:gui07 = "None" -let g:base16_gui07 = "None" -let s:gui08 = "None" -let g:base16_gui08 = "None" -let s:gui09 = "None" -let g:base16_gui09 = "None" -let s:gui0A = "None" -let g:base16_gui0A = "None" -let s:gui0B = "None" -let g:base16_gui0B = "None" -let s:gui0C = "None" -let g:base16_gui0C = "None" -let s:gui0D = "None" -let g:base16_gui0D = "None" -let s:gui0E = "None" -let g:base16_gui0E = "None" -let s:gui0F = "None" -let g:base16_gui0F = "None" - -let s:grey = "None" - -" 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 = "None" - let g:terminal_color_1 = "None" - let g:terminal_color_2 = "None" - let g:terminal_color_3 = "None" - let g:terminal_color_4 = "None" - let g:terminal_color_5 = "None" - let g:terminal_color_6 = "None" - let g:terminal_color_7 = "None" - let g:terminal_color_8 = "None" - let g:terminal_color_9 = "None" - let g:terminal_color_10 = "None" - let g:terminal_color_11 = "None" - let g:terminal_color_12 = "None" - let g:terminal_color_13 = "None" - let g:terminal_color_14 = "None" - let g:terminal_color_15 = "None" - 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 = [ - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ "None", - \ ] -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") -call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") -call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") -call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") -call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") -call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") -call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") -call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") - -call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") -call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") -call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") -call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") -call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") -call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") -call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") -call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") - -call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") -call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") -call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") -call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") -call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") -call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") -call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") -call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") - -call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") -call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") -call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") -call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") -call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") -call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") -call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") -call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") - -call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") -call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") -call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") -call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") -call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") -call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") -call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") -call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") - -call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") -call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") -call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") -call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") -call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") -call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") -call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") -call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") - -call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") -call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") -call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") -call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") -call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") -call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") -call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") -call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") - -call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") -call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") -call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") -call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") -call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") -call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") -call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") -call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") - -call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") -call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") - - -" Vim editor colors -call hi("Bold", "", "", "", "", "bold", "") -call hi("Italic", "", "", "", "", "italic", "") -call hi("BoldItalic", "", "", "", "", "italic,bold", "") - -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") -call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") -call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", "", "", "", "", "underline", "fg") -call hi("Visual", "", s:gui02, "", s:cterm02, "", "") -call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") - -"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -hi! link Conceal ThemeBlue - -call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") -call hi("NonText", s:gui03, "", s:cterm03, "", "", "") -call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") -call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") -call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") -call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") -call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") -call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") -call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") -call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") - "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray - "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) - call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") - "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) -endif - -" Standard highlights to be used by plugins -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif -call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") - -call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") -call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") -call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") -call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") - -call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") -call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") -call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") -call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") -call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") - -call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") -call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") - -call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) -call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) -call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) -call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) -call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) - -call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) -call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) -call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) -call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) - -call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") -call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") -call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") -call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") -call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") -call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") -call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") -call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") - -" Git -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") -endif - -" HTML -call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") -call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") -call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") - -" JavaScript -call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" Matchup -call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") - -" NERDTree -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") -call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") - -" Python -"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify -hi! link SignifySignAdd GitAddSign -hi! link SignifySignChange GitChangeSign -hi! link SignifySignDelete GitDeleteSign - -" Startify -call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") -call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") -call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") -call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") -call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") -call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") -call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") - -" Java -call 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 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 - diff --git a/app-config/nvim/soft-alpine-monobiome-dark.theme.vim b/app-config/nvim/soft-alpine-monobiome-dark.theme.vim new file mode 100644 index 0000000..4063286 --- /dev/null +++ b/app-config/nvim/soft-alpine-monobiome-dark.theme.vim @@ -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 = "#2e2e2e" +let g:base16_gui00 = "#2e2e2e" +let s:gui01 = "#3a3a3a" +let g:base16_gui01 = "#3a3a3a" +let s:gui02 = "#484848" +let g:base16_gui02 = "#484848" +let s:gui03 = "#555555" +let g:base16_gui03 = "#555555" +let s:gui04 = "#bebebe" +let g:base16_gui04 = "#bebebe" +let s:gui05 = "#cecece" +let g:base16_gui05 = "#cecece" +let s:gui06 = "#dedede" +let g:base16_gui06 = "#dedede" +let s:gui07 = "#eeeeee" +let g:base16_gui07 = "#eeeeee" +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 = "#808080" + +" 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 = "#2e2e2e" + 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 = "#cecece" + let g:terminal_color_8 = "#555555" + 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 = "#eeeeee" + 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 = [ + \ "#2e2e2e", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#cecece", + \ "#555555", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#eeeeee", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-alpine-monobiome-light.theme.vim b/app-config/nvim/soft-alpine-monobiome-light.theme.vim new file mode 100644 index 0000000..5626c55 --- /dev/null +++ b/app-config/nvim/soft-alpine-monobiome-light.theme.vim @@ -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 = "#cecece" +let g:base16_gui00 = "#cecece" +let s:gui01 = "#bebebe" +let g:base16_gui01 = "#bebebe" +let s:gui02 = "#aeaeae" +let g:base16_gui02 = "#aeaeae" +let s:gui03 = "#9e9e9e" +let g:base16_gui03 = "#9e9e9e" +let s:gui04 = "#3a3a3a" +let g:base16_gui04 = "#3a3a3a" +let s:gui05 = "#2e2e2e" +let g:base16_gui05 = "#2e2e2e" +let s:gui06 = "#222222" +let g:base16_gui06 = "#222222" +let s:gui07 = "#161616" +let g:base16_gui07 = "#161616" +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 = "#717171" + +" 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 = "#cecece" + 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 = "#2e2e2e" + let g:terminal_color_8 = "#9e9e9e" + 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 = "#161616" + 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 = [ + \ "#cecece", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#2e2e2e", + \ "#9e9e9e", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#161616", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-badlands-monobiome-dark.theme.vim b/app-config/nvim/soft-badlands-monobiome-dark.theme.vim new file mode 100644 index 0000000..d9b0a0d --- /dev/null +++ b/app-config/nvim/soft-badlands-monobiome-dark.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-badlands-monobiome-light.theme.vim b/app-config/nvim/soft-badlands-monobiome-light.theme.vim new file mode 100644 index 0000000..3991570 --- /dev/null +++ b/app-config/nvim/soft-badlands-monobiome-light.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-chaparral-monobiome-dark.theme.vim b/app-config/nvim/soft-chaparral-monobiome-dark.theme.vim new file mode 100644 index 0000000..2745a1c --- /dev/null +++ b/app-config/nvim/soft-chaparral-monobiome-dark.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-chaparral-monobiome-light.theme.vim b/app-config/nvim/soft-chaparral-monobiome-light.theme.vim new file mode 100644 index 0000000..6f917a9 --- /dev/null +++ b/app-config/nvim/soft-chaparral-monobiome-light.theme.vim @@ -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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-grassland-monobiome-dark.theme.vim b/app-config/nvim/soft-grassland-monobiome-dark.theme.vim new file mode 100644 index 0000000..44eb002 --- /dev/null +++ b/app-config/nvim/soft-grassland-monobiome-dark.theme.vim @@ -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 = "#2a2f2b" +let g:base16_gui00 = "#2a2f2b" +let s:gui01 = "#373c37" +let g:base16_gui01 = "#373c37" +let s:gui02 = "#444944" +let g:base16_gui02 = "#444944" +let s:gui03 = "#515752" +let g:base16_gui03 = "#515752" +let s:gui04 = "#b9c0ba" +let g:base16_gui04 = "#b9c0ba" +let s:gui05 = "#c9d0ca" +let g:base16_gui05 = "#c9d0ca" +let s:gui06 = "#d9e0da" +let g:base16_gui06 = "#d9e0da" +let s:gui07 = "#eaf1ea" +let g:base16_gui07 = "#eaf1ea" +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 = "#7c827d" + +" 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 = "#2a2f2b" + 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 = "#c9d0ca" + let g:terminal_color_8 = "#515752" + 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 = "#eaf1ea" + 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 = [ + \ "#2a2f2b", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#c9d0ca", + \ "#515752", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#eaf1ea", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-grassland-monobiome-light.theme.vim b/app-config/nvim/soft-grassland-monobiome-light.theme.vim new file mode 100644 index 0000000..989c7a8 --- /dev/null +++ b/app-config/nvim/soft-grassland-monobiome-light.theme.vim @@ -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 = "#c9d0ca" +let g:base16_gui00 = "#c9d0ca" +let s:gui01 = "#b9c0ba" +let g:base16_gui01 = "#b9c0ba" +let s:gui02 = "#a9b0aa" +let g:base16_gui02 = "#a9b0aa" +let s:gui03 = "#9aa09b" +let g:base16_gui03 = "#9aa09b" +let s:gui04 = "#373c37" +let g:base16_gui04 = "#373c37" +let s:gui05 = "#2a2f2b" +let g:base16_gui05 = "#2a2f2b" +let s:gui06 = "#1e231f" +let g:base16_gui06 = "#1e231f" +let s:gui07 = "#131713" +let g:base16_gui07 = "#131713" +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 = "#6d736e" + +" 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 = "#c9d0ca" + 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 = "#2a2f2b" + let g:terminal_color_8 = "#9aa09b" + 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 = "#131713" + 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 = [ + \ "#c9d0ca", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#2a2f2b", + \ "#9aa09b", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#131713", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-savanna-monobiome-dark.theme.vim b/app-config/nvim/soft-savanna-monobiome-dark.theme.vim new file mode 100644 index 0000000..c531f9c --- /dev/null +++ b/app-config/nvim/soft-savanna-monobiome-dark.theme.vim @@ -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 = "#2f2e28" +let g:base16_gui00 = "#2f2e28" +let s:gui01 = "#3b3b34" +let g:base16_gui01 = "#3b3b34" +let s:gui02 = "#484841" +let g:base16_gui02 = "#484841" +let s:gui03 = "#56564f" +let g:base16_gui03 = "#56564f" +let s:gui04 = "#bfbeb6" +let g:base16_gui04 = "#bfbeb6" +let s:gui05 = "#cfcec6" +let g:base16_gui05 = "#cfcec6" +let s:gui06 = "#dfded6" +let g:base16_gui06 = "#dfded6" +let s:gui07 = "#efefe7" +let g:base16_gui07 = "#efefe7" +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 = "#818179" + +" 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 = "#2f2e28" + 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 = "#cfcec6" + let g:terminal_color_8 = "#56564f" + 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 = "#efefe7" + 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 = [ + \ "#2f2e28", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#cfcec6", + \ "#56564f", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#efefe7", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-savanna-monobiome-light.theme.vim b/app-config/nvim/soft-savanna-monobiome-light.theme.vim new file mode 100644 index 0000000..8329df1 --- /dev/null +++ b/app-config/nvim/soft-savanna-monobiome-light.theme.vim @@ -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 = "#cfcec6" +let g:base16_gui00 = "#cfcec6" +let s:gui01 = "#bfbeb6" +let g:base16_gui01 = "#bfbeb6" +let s:gui02 = "#afaea7" +let g:base16_gui02 = "#afaea7" +let s:gui03 = "#9f9f97" +let g:base16_gui03 = "#9f9f97" +let s:gui04 = "#3b3b34" +let g:base16_gui04 = "#3b3b34" +let s:gui05 = "#2f2e28" +let g:base16_gui05 = "#2f2e28" +let s:gui06 = "#22221c" +let g:base16_gui06 = "#22221c" +let s:gui07 = "#171611" +let g:base16_gui07 = "#171611" +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 = "#72726b" + +" 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 = "#cfcec6" + 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 = "#2f2e28" + let g:terminal_color_8 = "#9f9f97" + 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 = "#171611" + 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 = [ + \ "#cfcec6", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#2f2e28", + \ "#9f9f97", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#171611", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-tundra-monobiome-dark.theme.vim b/app-config/nvim/soft-tundra-monobiome-dark.theme.vim new file mode 100644 index 0000000..1bed5c8 --- /dev/null +++ b/app-config/nvim/soft-tundra-monobiome-dark.theme.vim @@ -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 = "#2b2e33" +let g:base16_gui00 = "#2b2e33" +let s:gui01 = "#373b40" +let g:base16_gui01 = "#373b40" +let s:gui02 = "#44484e" +let g:base16_gui02 = "#44484e" +let s:gui03 = "#52555c" +let g:base16_gui03 = "#52555c" +let s:gui04 = "#babec5" +let g:base16_gui04 = "#babec5" +let s:gui05 = "#caced5" +let g:base16_gui05 = "#caced5" +let s:gui06 = "#dadee6" +let g:base16_gui06 = "#dadee6" +let s:gui07 = "#eaeff6" +let g:base16_gui07 = "#eaeff6" +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 = "#7d8087" + +" 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 = "#2b2e33" + 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 = "#caced5" + let g:terminal_color_8 = "#52555c" + 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 = "#eaeff6" + 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 = [ + \ "#2b2e33", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#caced5", + \ "#52555c", + \ "#f37060", + \ "#6eb178", + \ "#a7a15f", + \ "#799ee3", + \ "#799ee3", + \ "#6eb178", + \ "#eaeff6", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/app-config/nvim/soft-tundra-monobiome-light.theme.vim b/app-config/nvim/soft-tundra-monobiome-light.theme.vim new file mode 100644 index 0000000..8e33336 --- /dev/null +++ b/app-config/nvim/soft-tundra-monobiome-light.theme.vim @@ -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 = "#caced5" +let g:base16_gui00 = "#caced5" +let s:gui01 = "#babec5" +let g:base16_gui01 = "#babec5" +let s:gui02 = "#aaaeb5" +let g:base16_gui02 = "#aaaeb5" +let s:gui03 = "#9b9fa5" +let g:base16_gui03 = "#9b9fa5" +let s:gui04 = "#373b40" +let g:base16_gui04 = "#373b40" +let s:gui05 = "#2b2e33" +let g:base16_gui05 = "#2b2e33" +let s:gui06 = "#1f2227" +let g:base16_gui06 = "#1f2227" +let s:gui07 = "#13161b" +let g:base16_gui07 = "#13161b" +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 = "#6e7278" + +" 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 = "#caced5" + 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 = "#2b2e33" + let g:terminal_color_8 = "#9b9fa5" + 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 = "#13161b" + 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 = [ + \ "#caced5", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#2b2e33", + \ "#9b9fa5", + \ "#9d1a13", + \ "#2e6337", + \ "#5b572e", + \ "#2d5299", + \ "#2d5299", + \ "#2e6337", + \ "#13161b", + \ ] +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 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 hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call 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 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 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 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 hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call 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 hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call 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 hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call 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 hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call 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 hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call 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 hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call 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 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 + diff --git a/check.sh b/check.sh new file mode 100755 index 0000000..0600249 --- /dev/null +++ b/check.sh @@ -0,0 +1,9 @@ +cd app-config/firefox +mkdir -p zips +shopt -s nullglob +for f in *; do + [[ -f $f ]] || continue + name=${f##*/}; name=${name%.*} + bsdtar -cf "zips/$name.zip" --format zip -s ':^.*$:manifest.json:' -- "$f" +done + diff --git a/generate.sh b/generate.sh index c7a6596..b743723 100755 --- a/generate.sh +++ b/generate.sh @@ -1,2 +1,17 @@ -rm -rf app-config/fzf app-config/kitty app-config/nvim +rm -rf app-config/* symconf -c templates/ generate -o app-config + +cd app-config/firefox +shopt -s nullglob +for f in *; do + [[ -f $f ]] || continue + name=${f##*/}; name=${name%.*} + bsdtar -cf "$name.xpi" --format zip -s ':^.*$:manifest.json:' -- "$f" +done + +# consolidate firefox artifacts +rm *.manifest.json +rm hard-* soft-* +rm *-light.* +perl-rename 's/^([^-.]+)-([^-.]+)-([^-.]+)-([^-.]+)\..*\.xpi/$2-$3.xpi/' * + diff --git a/images/firefox/v1.0.2/alpine-dark.png b/images/firefox/v1.0.2/alpine-dark.png new file mode 100644 index 0000000..db151f0 Binary files /dev/null and b/images/firefox/v1.0.2/alpine-dark.png differ diff --git a/images/firefox/v1.0.2/alpine-light.png b/images/firefox/v1.0.2/alpine-light.png new file mode 100644 index 0000000..a94231c Binary files /dev/null and b/images/firefox/v1.0.2/alpine-light.png differ diff --git a/images/firefox/v1.0.2/alpine-split.png b/images/firefox/v1.0.2/alpine-split.png new file mode 100644 index 0000000..7f131c5 Binary files /dev/null and b/images/firefox/v1.0.2/alpine-split.png differ diff --git a/images/firefox/v1.0.2/badlands-dark.png b/images/firefox/v1.0.2/badlands-dark.png new file mode 100644 index 0000000..2b508d4 Binary files /dev/null and b/images/firefox/v1.0.2/badlands-dark.png differ diff --git a/images/firefox/v1.0.2/badlands-light.png b/images/firefox/v1.0.2/badlands-light.png new file mode 100644 index 0000000..01778a9 Binary files /dev/null and b/images/firefox/v1.0.2/badlands-light.png differ diff --git a/images/firefox/v1.0.2/badlands-split.png b/images/firefox/v1.0.2/badlands-split.png new file mode 100644 index 0000000..05be59f Binary files /dev/null and b/images/firefox/v1.0.2/badlands-split.png differ diff --git a/images/firefox/v1.0.2/chaparral-dark.png b/images/firefox/v1.0.2/chaparral-dark.png new file mode 100644 index 0000000..00e1605 Binary files /dev/null and b/images/firefox/v1.0.2/chaparral-dark.png differ diff --git a/images/firefox/v1.0.2/chaparral-light.png b/images/firefox/v1.0.2/chaparral-light.png new file mode 100644 index 0000000..c3acb1a Binary files /dev/null and b/images/firefox/v1.0.2/chaparral-light.png differ diff --git a/images/firefox/v1.0.2/chaparral-split.png b/images/firefox/v1.0.2/chaparral-split.png new file mode 100644 index 0000000..c77aad7 Binary files /dev/null and b/images/firefox/v1.0.2/chaparral-split.png differ diff --git a/images/firefox/v1.0.2/grassland-dark.png b/images/firefox/v1.0.2/grassland-dark.png new file mode 100644 index 0000000..6eb9c81 Binary files /dev/null and b/images/firefox/v1.0.2/grassland-dark.png differ diff --git a/images/firefox/v1.0.2/grassland-light.png b/images/firefox/v1.0.2/grassland-light.png new file mode 100644 index 0000000..349cf81 Binary files /dev/null and b/images/firefox/v1.0.2/grassland-light.png differ diff --git a/images/firefox/v1.0.2/grassland-split.png b/images/firefox/v1.0.2/grassland-split.png new file mode 100644 index 0000000..0f80a79 Binary files /dev/null and b/images/firefox/v1.0.2/grassland-split.png differ diff --git a/images/firefox/v1.0.2/savanna-dark.png b/images/firefox/v1.0.2/savanna-dark.png new file mode 100644 index 0000000..f7647c2 Binary files /dev/null and b/images/firefox/v1.0.2/savanna-dark.png differ diff --git a/images/firefox/v1.0.2/savanna-light.png b/images/firefox/v1.0.2/savanna-light.png new file mode 100644 index 0000000..60209e0 Binary files /dev/null and b/images/firefox/v1.0.2/savanna-light.png differ diff --git a/images/firefox/v1.0.2/savanna-split.png b/images/firefox/v1.0.2/savanna-split.png new file mode 100644 index 0000000..15b79e2 Binary files /dev/null and b/images/firefox/v1.0.2/savanna-split.png differ diff --git a/images/firefox/v1.0.2/tundra-dark.png b/images/firefox/v1.0.2/tundra-dark.png new file mode 100644 index 0000000..96fbeb5 Binary files /dev/null and b/images/firefox/v1.0.2/tundra-dark.png differ diff --git a/images/firefox/v1.0.2/tundra-light.png b/images/firefox/v1.0.2/tundra-light.png new file mode 100644 index 0000000..18c06ca Binary files /dev/null and b/images/firefox/v1.0.2/tundra-light.png differ diff --git a/images/firefox/v1.0.2/tundra-split.png b/images/firefox/v1.0.2/tundra-split.png new file mode 100644 index 0000000..dc8875f Binary files /dev/null and b/images/firefox/v1.0.2/tundra-split.png differ diff --git a/templates/app_registry.toml b/templates/app_registry.toml index 17c7241..9a26685 100644 --- a/templates/app_registry.toml +++ b/templates/app_registry.toml @@ -1,3 +1,4 @@ [app.fzf] [app.kitty] [app.nvim] +[app.firefox] diff --git a/templates/apps/firefox/templates/none-dark.manifest.json b/templates/apps/firefox/templates/none-dark.manifest.json new file mode 100644 index 0000000..f50a3e4 --- /dev/null +++ b/templates/apps/firefox/templates/none-dark.manifest.json @@ -0,0 +1,51 @@ +{ + "manifest_version": 2, + "version": "1.0.2", + "name": "monobiome-f{{theme.biome}}-f{{theme.mode}}-f{{theme.contrast}}", + "theme": { + "colors": { + "toolbar": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_text": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "frame": "rgbx{{ tuple(int(f{{theme.vim.fg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_background_text": "rgbx{{ tuple(int(f{{theme.vim.bg3}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field": "rgbx{{ tuple(int(f{{theme.vim.fg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_text": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_line": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_text": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "ntp_background": "rgbx{{ tuple(int(f{{theme.vim.fg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_border": "rgbx{{ tuple(int(f{{theme.vim.fg3}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_highlight_text": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_highlight": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_bottom_separator": "rgbx{{ tuple(int(f{{theme.vim.grey}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_border_focus": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_highlight_text": "rgbx{{ tuple(int(f{{theme.vim.fg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_highlight": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_text_focus": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_loading": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}" + } + }, + "dark_theme": { + "colors": { + "toolbar": "rgbx{{ tuple(int(f{{theme.vim.bg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_text": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "frame": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_background_text": "rgbx{{ tuple(int(f{{theme.vim.fg3}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_text": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_line": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup": "rgbx{{ tuple(int(f{{theme.vim.bg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_text": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "ntp_background": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_border": "rgbx{{ tuple(int(f{{theme.vim.bg3}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_highlight_text": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "popup_highlight": "rgbx{{ tuple(int(f{{theme.vim.bg2}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_bottom_separator": "rgbx{{ tuple(int(f{{theme.vim.grey}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_border_focus": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_highlight_text": "rgbx{{ tuple(int(f{{theme.vim.bg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_highlight": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "toolbar_field_text_focus": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}", + "tab_loading": "rgbx{{ tuple(int(f{{theme.vim.fg0}}[1:][i:i+2],16) for i in (0,2,4)) }}" + } + } +} diff --git a/templates/groups/theme/monobiome-alpine-dark-default.toml b/templates/groups/theme/default-alpine-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-dark-default.toml rename to templates/groups/theme/default-alpine-monobiome-dark.toml index 2958b34..1924290 100644 --- a/templates/groups/theme/monobiome-alpine-dark-default.toml +++ b/templates/groups/theme/default-alpine-monobiome-dark.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=dark :contrast=default -# DEFAULT +# ALPINE # # pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > # abs :: min -- +15 | +30 | +40 | +50 -- +65 # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "alpine" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-alpine-light-default.toml b/templates/groups/theme/default-alpine-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-light-default.toml rename to templates/groups/theme/default-alpine-monobiome-light.toml index 67eae0b..ea0e18f 100644 --- a/templates/groups/theme/monobiome-alpine-light-default.toml +++ b/templates/groups/theme/default-alpine-monobiome-light.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=light :contrast=default -# DEFAULT +# ALPINE # # pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > # abs :: max -- -15 | -30 | -40 | -50 -- -65 # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "alpine" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-dark-default.toml b/templates/groups/theme/default-badlands-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-dark-default.toml rename to templates/groups/theme/default-badlands-monobiome-dark.toml index dd3491e..55a7781 100644 --- a/templates/groups/theme/monobiome-badlands-dark-default.toml +++ b/templates/groups/theme/default-badlands-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "badlands" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-light-default.toml b/templates/groups/theme/default-badlands-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-light-default.toml rename to templates/groups/theme/default-badlands-monobiome-light.toml index a1884c3..f2071af 100644 --- a/templates/groups/theme/monobiome-badlands-light-default.toml +++ b/templates/groups/theme/default-badlands-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "badlands" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-dark-default.toml b/templates/groups/theme/default-chaparral-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-dark-default.toml rename to templates/groups/theme/default-chaparral-monobiome-dark.toml index 0056aed..60949b9 100644 --- a/templates/groups/theme/monobiome-chaparral-dark-default.toml +++ b/templates/groups/theme/default-chaparral-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "chaparral" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-light-default.toml b/templates/groups/theme/default-chaparral-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-light-default.toml rename to templates/groups/theme/default-chaparral-monobiome-light.toml index 0e84fc1..9b674aa 100644 --- a/templates/groups/theme/monobiome-chaparral-light-default.toml +++ b/templates/groups/theme/default-chaparral-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "chaparral" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-dark-default.toml b/templates/groups/theme/default-grassland-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-dark-default.toml rename to templates/groups/theme/default-grassland-monobiome-dark.toml index ab0ed7a..6cb3b63 100644 --- a/templates/groups/theme/monobiome-grassland-dark-default.toml +++ b/templates/groups/theme/default-grassland-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "grassland" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-light-default.toml b/templates/groups/theme/default-grassland-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-light-default.toml rename to templates/groups/theme/default-grassland-monobiome-light.toml index 08fdf33..43c68f5 100644 --- a/templates/groups/theme/monobiome-grassland-light-default.toml +++ b/templates/groups/theme/default-grassland-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "grassland" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-dark-default.toml b/templates/groups/theme/default-savanna-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-dark-default.toml rename to templates/groups/theme/default-savanna-monobiome-dark.toml index 7f9f2fc..c9fd601 100644 --- a/templates/groups/theme/monobiome-savanna-dark-default.toml +++ b/templates/groups/theme/default-savanna-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "savanna" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-light-default.toml b/templates/groups/theme/default-savanna-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-light-default.toml rename to templates/groups/theme/default-savanna-monobiome-light.toml index 8a1ca78..5e10664 100644 --- a/templates/groups/theme/monobiome-savanna-light-default.toml +++ b/templates/groups/theme/default-savanna-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "savanna" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-dark-default.toml b/templates/groups/theme/default-tundra-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-dark-default.toml rename to templates/groups/theme/default-tundra-monobiome-dark.toml index e5fbd56..2576095 100644 --- a/templates/groups/theme/monobiome-tundra-dark-default.toml +++ b/templates/groups/theme/default-tundra-monobiome-dark.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=dark :contrast=default -# SAVANNA +# TUNDRA # # pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > # abs :: min -- +15 | +30 | +40 | +50 -- +65 # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l20 -- l35 | l50 | l60 | l70 -- l85 # app :: l25 -- l40 | l55 | l65 | l75 -- l90 + +mode = "dark" +biome = "tundra" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-light-default.toml b/templates/groups/theme/default-tundra-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-light-default.toml rename to templates/groups/theme/default-tundra-monobiome-light.toml index 40977dc..57fd2a9 100644 --- a/templates/groups/theme/monobiome-tundra-light-default.toml +++ b/templates/groups/theme/default-tundra-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l85 -- l70 | l55 | l45 | l35 -- l20 # app :: l90 -- l75 | l60 | l50 | l40 -- l25 + +mode = "light" +biome = "tundra" +contrast = "default" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-alpine-dark-hard.toml b/templates/groups/theme/hard-alpine-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-dark-hard.toml rename to templates/groups/theme/hard-alpine-monobiome-dark.toml index 3a670da..f75325b 100644 --- a/templates/groups/theme/monobiome-alpine-dark-hard.toml +++ b/templates/groups/theme/hard-alpine-monobiome-dark.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=dark :contrast=hard -# DEFAULT +# ALPINE # # 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 + +mode = "dark" +biome = "alpine" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-alpine-light-hard.toml b/templates/groups/theme/hard-alpine-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-light-hard.toml rename to templates/groups/theme/hard-alpine-monobiome-light.toml index db0a670..f327128 100644 --- a/templates/groups/theme/monobiome-alpine-light-hard.toml +++ b/templates/groups/theme/hard-alpine-monobiome-light.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=light :contrast=hard -# DEFAULT +# ALPINE # # 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 + +mode = "light" +biome = "alpine" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-dark-hard.toml b/templates/groups/theme/hard-badlands-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-dark-hard.toml rename to templates/groups/theme/hard-badlands-monobiome-dark.toml index 2377112..1c78c46 100644 --- a/templates/groups/theme/monobiome-badlands-dark-hard.toml +++ b/templates/groups/theme/hard-badlands-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l15 -- l30 | l45 | l55 | l65 -- l80 # app :: l20 -- l35 | l50 | l60 | l70 -- l85 + +mode = "dark" +biome = "badlands" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-light-hard.toml b/templates/groups/theme/hard-badlands-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-light-hard.toml rename to templates/groups/theme/hard-badlands-monobiome-light.toml index 38ddd6c..c27c209 100644 --- a/templates/groups/theme/monobiome-badlands-light-hard.toml +++ b/templates/groups/theme/hard-badlands-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l90 -- l75 | l60 | l50 | l40 -- l25 # app :: l95 -- l80 | l65 | l55 | l45 -- l30 + +mode = "light" +biome = "badlands" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-dark-hard.toml b/templates/groups/theme/hard-chaparral-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-dark-hard.toml rename to templates/groups/theme/hard-chaparral-monobiome-dark.toml index 4384193..90688ef 100644 --- a/templates/groups/theme/monobiome-chaparral-dark-hard.toml +++ b/templates/groups/theme/hard-chaparral-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l15 -- l30 | l45 | l55 | l65 -- l80 # app :: l20 -- l35 | l50 | l60 | l70 -- l85 + +mode = "dark" +biome = "chaparral" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-light-hard.toml b/templates/groups/theme/hard-chaparral-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-light-hard.toml rename to templates/groups/theme/hard-chaparral-monobiome-light.toml index 9b6897c..30176a5 100644 --- a/templates/groups/theme/monobiome-chaparral-light-hard.toml +++ b/templates/groups/theme/hard-chaparral-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l90 -- l75 | l60 | l50 | l40 -- l25 # app :: l95 -- l80 | l65 | l55 | l45 -- l30 + +mode = "light" +biome = "chaparral" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-dark-hard.toml b/templates/groups/theme/hard-grassland-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-dark-hard.toml rename to templates/groups/theme/hard-grassland-monobiome-dark.toml index d319847..727c9bc 100644 --- a/templates/groups/theme/monobiome-grassland-dark-hard.toml +++ b/templates/groups/theme/hard-grassland-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l15 -- l30 | l45 | l55 | l65 -- l80 # app :: l20 -- l35 | l50 | l60 | l70 -- l85 + +mode = "dark" +biome = "grassland" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-light-hard.toml b/templates/groups/theme/hard-grassland-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-light-hard.toml rename to templates/groups/theme/hard-grassland-monobiome-light.toml index 1d887bc..1e3a658 100644 --- a/templates/groups/theme/monobiome-grassland-light-hard.toml +++ b/templates/groups/theme/hard-grassland-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l90 -- l75 | l60 | l50 | l40 -- l25 # app :: l95 -- l80 | l65 | l55 | l45 -- l30 + +mode = "light" +biome = "grassland" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-dark-hard.toml b/templates/groups/theme/hard-savanna-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-dark-hard.toml rename to templates/groups/theme/hard-savanna-monobiome-dark.toml index 5e8bfff..c90dcda 100644 --- a/templates/groups/theme/monobiome-savanna-dark-hard.toml +++ b/templates/groups/theme/hard-savanna-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l15 -- l30 | l45 | l55 | l65 -- l80 # app :: l20 -- l35 | l50 | l60 | l70 -- l85 + +mode = "dark" +biome = "savanna" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-light-hard.toml b/templates/groups/theme/hard-savanna-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-light-hard.toml rename to templates/groups/theme/hard-savanna-monobiome-light.toml index c5c5c40..ee87306 100644 --- a/templates/groups/theme/monobiome-savanna-light-hard.toml +++ b/templates/groups/theme/hard-savanna-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l90 -- l75 | l60 | l50 | l40 -- l25 # app :: l95 -- l80 | l65 | l55 | l45 -- l30 + +mode = "light" +biome = "savanna" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-dark-hard.toml b/templates/groups/theme/hard-tundra-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-dark-hard.toml rename to templates/groups/theme/hard-tundra-monobiome-dark.toml index c512bc4..5e8e461 100644 --- a/templates/groups/theme/monobiome-tundra-dark-hard.toml +++ b/templates/groups/theme/hard-tundra-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l15 -- l30 | l45 | l55 | l65 -- l80 # app :: l20 -- l35 | l50 | l60 | l70 -- l85 + +mode = "dark" +biome = "tundra" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-light-hard.toml b/templates/groups/theme/hard-tundra-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-light-hard.toml rename to templates/groups/theme/hard-tundra-monobiome-light.toml index 5b0b676..ffae463 100644 --- a/templates/groups/theme/monobiome-tundra-light-hard.toml +++ b/templates/groups/theme/hard-tundra-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l90 -- l75 | l60 | l50 | l40 -- l25 # app :: l95 -- l80 | l65 | l55 | l45 -- l30 + +mode = "light" +biome = "tundra" +contrast = "hard" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-alpine-dark-soft.toml b/templates/groups/theme/soft-alpine-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-dark-soft.toml rename to templates/groups/theme/soft-alpine-monobiome-dark.toml index 2d4b4c8..e6c75cd 100644 --- a/templates/groups/theme/monobiome-alpine-dark-soft.toml +++ b/templates/groups/theme/soft-alpine-monobiome-dark.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=dark :contrast=soft -# DEFAULT +# ALPINE # # 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 + +mode = "dark" +biome = "alpine" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-alpine-light-soft.toml b/templates/groups/theme/soft-alpine-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-alpine-light-soft.toml rename to templates/groups/theme/soft-alpine-monobiome-light.toml index 336270e..8d61c20 100644 --- a/templates/groups/theme/monobiome-alpine-light-soft.toml +++ b/templates/groups/theme/soft-alpine-monobiome-light.toml @@ -1,12 +1,16 @@ # - META ------------------------------------- # MONOBIOME :mode=light :contrast=soft -# DEFAULT +# ALPINE # # 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 + +mode = "light" +biome = "alpine" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-dark-soft.toml b/templates/groups/theme/soft-badlands-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-dark-soft.toml rename to templates/groups/theme/soft-badlands-monobiome-dark.toml index 184be19..181a61f 100644 --- a/templates/groups/theme/monobiome-badlands-dark-soft.toml +++ b/templates/groups/theme/soft-badlands-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l25 -- l40 | l55 | l65 | l75 -- l90 # app :: l30 -- l45 | l60 | l70 | l80 -- l95 + +mode = "dark" +biome = "badlands" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-badlands-light-soft.toml b/templates/groups/theme/soft-badlands-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-badlands-light-soft.toml rename to templates/groups/theme/soft-badlands-monobiome-light.toml index 4fa27f1..f43ba14 100644 --- a/templates/groups/theme/monobiome-badlands-light-soft.toml +++ b/templates/groups/theme/soft-badlands-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l80 -- l65 | l50 | l40 | l30 -- l15 # app :: l85 -- l70 | l55 | l45 | l35 -- l20 + +mode = "light" +biome = "badlands" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-dark-soft.toml b/templates/groups/theme/soft-chaparral-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-dark-soft.toml rename to templates/groups/theme/soft-chaparral-monobiome-dark.toml index d27b6e8..4db134d 100644 --- a/templates/groups/theme/monobiome-chaparral-dark-soft.toml +++ b/templates/groups/theme/soft-chaparral-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l25 -- l40 | l55 | l65 | l75 -- l90 # app :: l30 -- l45 | l60 | l70 | l80 -- l95 + +mode = "dark" +biome = "chaparral" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-chaparral-light-soft.toml b/templates/groups/theme/soft-chaparral-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-chaparral-light-soft.toml rename to templates/groups/theme/soft-chaparral-monobiome-light.toml index 0f16429..6b32b28 100644 --- a/templates/groups/theme/monobiome-chaparral-light-soft.toml +++ b/templates/groups/theme/soft-chaparral-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l80 -- l65 | l50 | l40 | l30 -- l15 # app :: l85 -- l70 | l55 | l45 | l35 -- l20 + +mode = "light" +biome = "chaparral" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-dark-soft.toml b/templates/groups/theme/soft-grassland-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-dark-soft.toml rename to templates/groups/theme/soft-grassland-monobiome-dark.toml index e7bdeb5..ea40708 100644 --- a/templates/groups/theme/monobiome-grassland-dark-soft.toml +++ b/templates/groups/theme/soft-grassland-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l25 -- l40 | l55 | l65 | l75 -- l90 # app :: l30 -- l45 | l60 | l70 | l80 -- l95 + +mode = "dark" +biome = "grassland" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-grassland-light-soft.toml b/templates/groups/theme/soft-grassland-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-grassland-light-soft.toml rename to templates/groups/theme/soft-grassland-monobiome-light.toml index ea55ec6..84cf154 100644 --- a/templates/groups/theme/monobiome-grassland-light-soft.toml +++ b/templates/groups/theme/soft-grassland-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l80 -- l65 | l50 | l40 | l30 -- l15 # app :: l85 -- l70 | l55 | l45 | l35 -- l20 + +mode = "light" +biome = "grassland" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-dark-soft.toml b/templates/groups/theme/soft-savanna-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-dark-soft.toml rename to templates/groups/theme/soft-savanna-monobiome-dark.toml index 64a8848..475fe55 100644 --- a/templates/groups/theme/monobiome-savanna-dark-soft.toml +++ b/templates/groups/theme/soft-savanna-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l25 -- l40 | l55 | l65 | l75 -- l90 # app :: l30 -- l45 | l60 | l70 | l80 -- l95 + +mode = "dark" +biome = "savanna" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-savanna-light-soft.toml b/templates/groups/theme/soft-savanna-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-savanna-light-soft.toml rename to templates/groups/theme/soft-savanna-monobiome-light.toml index cdad729..a239ba2 100644 --- a/templates/groups/theme/monobiome-savanna-light-soft.toml +++ b/templates/groups/theme/soft-savanna-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l80 -- l65 | l50 | l40 | l30 -- l15 # app :: l85 -- l70 | l55 | l45 | l35 -- l20 + +mode = "light" +biome = "savanna" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-dark-soft.toml b/templates/groups/theme/soft-tundra-monobiome-dark.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-dark-soft.toml rename to templates/groups/theme/soft-tundra-monobiome-dark.toml index 2803e65..cfba9f1 100644 --- a/templates/groups/theme/monobiome-tundra-dark-soft.toml +++ b/templates/groups/theme/soft-tundra-monobiome-dark.toml @@ -7,6 +7,10 @@ # rel :: min -- +15 | +15 | +10 | +10 -- +15 # sys :: l25 -- l40 | l55 | l65 | l75 -- l90 # app :: l30 -- l45 | l60 | l70 | l80 -- l95 + +mode = "dark" +biome = "tundra" +contrast = "soft" # -------------------------------------------- # - SYS -------------------------------------- diff --git a/templates/groups/theme/monobiome-tundra-light-soft.toml b/templates/groups/theme/soft-tundra-monobiome-light.toml similarity index 97% rename from templates/groups/theme/monobiome-tundra-light-soft.toml rename to templates/groups/theme/soft-tundra-monobiome-light.toml index 76ab3d5..7258a62 100644 --- a/templates/groups/theme/monobiome-tundra-light-soft.toml +++ b/templates/groups/theme/soft-tundra-monobiome-light.toml @@ -7,6 +7,10 @@ # rel :: max -- -15 | -15 | -10 | -10 -- -15 # sys :: l80 -- l65 | l50 | l40 | l30 -- l15 # app :: l85 -- l70 | l55 | l45 | l35 -- l20 + +mode = "light" +biome = "tundra" +contrast = "soft" # -------------------------------------------- # - SYS --------------------------------------