about summary refs log tree commit diff stats
path: root/.config
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2024-02-16 18:45:10 -0300
committerVitor Gonçalves <vitorg@tilde.team>2024-02-16 18:45:10 -0300
commit00fe62184e9822713c87c70d3e55dbe781633db0 (patch)
tree3a020f48f2cdd1a0c5b4f62018d35cb9de119611 /.config
parenta2afba2b354453b193c4e76340fc1bd64e69a05e (diff)
downloaddots-00fe62184e9822713c87c70d3e55dbe781633db0.tar.gz
nvim: neovide
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/config/opt.lua8
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