diff options
author | Vitor Gonçalves <vitorg@tilde.team> | 2024-02-16 18:45:10 -0300 |
---|---|---|
committer | Vitor Gonçalves <vitorg@tilde.team> | 2024-02-16 18:45:10 -0300 |
commit | 00fe62184e9822713c87c70d3e55dbe781633db0 (patch) | |
tree | 3a020f48f2cdd1a0c5b4f62018d35cb9de119611 /.config/nvim/lua/config/opt.lua | |
parent | a2afba2b354453b193c4e76340fc1bd64e69a05e (diff) | |
download | dots-00fe62184e9822713c87c70d3e55dbe781633db0.tar.gz |
nvim: neovide
Diffstat (limited to '.config/nvim/lua/config/opt.lua')
-rw-r--r-- | .config/nvim/lua/config/opt.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/config/opt.lua b/.config/nvim/lua/config/opt.lua index 14f67d9..0df1dd5 100644 --- a/.config/nvim/lua/config/opt.lua +++ b/.config/nvim/lua/config/opt.lua @@ -1,4 +1,5 @@ local opt = vim.opt +local gv = vim.g -- tabs opt.tabstop = 4 @@ -28,3 +29,10 @@ opt.splitbelow = true opt.foldlevel = 99 opt.conceallevel = 2 + + +if vim.g.neovide then + opt.guifont = "JetBrainsMono Nerd Font Mono:h14" + gv.neovide_scale_factor = 0.08 + gv.neovide_transparency = 0.8 +end |