diff options
author | venomade <venomade@venomade.com> | 2025-02-28 16:55:04 +0000 |
---|---|---|
committer | venomade <venomade@venomade.com> | 2025-02-28 16:55:04 +0000 |
commit | b7b49d1bbe87af893c0a1e84143b1a3277fb9bd4 (patch) | |
tree | 318f348b8519a03856c81e665ebbcbc48265a27c /neovim-colemak/lua/config/neovide.lua | |
parent | 9456ae3aba7550d1a4ed1eedbb7e68f939b41385 (diff) |
Diffstat (limited to 'neovim-colemak/lua/config/neovide.lua')
-rw-r--r-- | neovim-colemak/lua/config/neovide.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/neovim-colemak/lua/config/neovide.lua b/neovim-colemak/lua/config/neovide.lua new file mode 100644 index 0000000..9f86d98 --- /dev/null +++ b/neovim-colemak/lua/config/neovide.lua @@ -0,0 +1,13 @@ +if vim.g.neovide then + -- Some Code + vim.o.guifont = "InconsolataGo Nerd Font" + + -- Helper function for transparency formatting + local alpha = function() + return string.format("%x", math.floor(255 * vim.g.transparency or 0.8)) + end + -- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar. + vim.g.neovide_transparency = 1.0 + vim.g.transparency = 0.8 + vim.g.neovide_background_color = "#0f1117" .. alpha() +end |