Merge pull request #931 from CallumGilly/main

themes/onedark: add missing transparency option
This commit is contained in:
Ching Pei Yang 2025-06-03 22:28:12 +02:00 committed by GitHub
commit 3f42d4e810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -418,3 +418,8 @@
- Add Clojure support under `vim.languages.clojure` using [clojure-lsp] - Add Clojure support under `vim.languages.clojure` using [clojure-lsp]
- Add code evaluation environment [conjure] under `vim.repl.conjure` - Add code evaluation environment [conjure] under `vim.repl.conjure`
[CallumGilly](https://github.com/CallumGilly):
- Add missing `transparent` option for existing
[onedark.nvim](https://github.com/navarasu/onedark.nvim) theme.

View file

@ -21,9 +21,14 @@ in {
''; '';
}; };
onedark = { onedark = {
setup = {style ? "dark", ...}: '' setup = {
style ? "dark",
transparent,
...
}: ''
-- OneDark theme -- OneDark theme
require('onedark').setup { require('onedark').setup {
transparent = ${boolToString transparent},
style = "${style}" style = "${style}"
} }
require('onedark').load() require('onedark').load()