about summary refs log tree commit diff stats
path: root/.config/nvim/lua/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/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