From 00fe62184e9822713c87c70d3e55dbe781633db0 Mon Sep 17 00:00:00 2001 From: Vitor Gonçalves Date: Fri, 16 Feb 2024 18:45:10 -0300 Subject: nvim: neovide --- .config/nvim/lua/config/opt.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config') 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 -- cgit 1.4.1-2-gfad0