From 18824a17c3b43facfd285716a8090c752b1aceb5 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sun, 29 Dec 2024 13:10:30 +0100 Subject: [PATCH] client: update font settings --- lua/nxvim/client/init.lua | 4 ++-- lua/nxvim/client/neovide.lua | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lua/nxvim/client/init.lua b/lua/nxvim/client/init.lua index 7112113..5ba8c52 100644 --- a/lua/nxvim/client/init.lua +++ b/lua/nxvim/client/init.lua @@ -9,7 +9,7 @@ local M = {} nx.opts = { float_win_border = "rounded", transparency = true, - second_font = true, + second_font = false, } -- MacOS @@ -31,7 +31,7 @@ local function init_gui() -- General GUI options local opt = vim.opt opt.fillchars:append("vert:│") - opt.guifont = vim.g.osx and "Hasklug Nerd Font Mono:h14" or "Hasklug Nerd Font Mono:h11" + opt.guifont = vim.g.osx and "Maple Mono NF:h14" or "Maple Mono NF:h12.5" opt.guicursor = "n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50,a:blinkwait600-blinkoff800-blinkon900-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175" -- linespace = vim.g.osx and 3 or 2 diff --git a/lua/nxvim/client/neovide.lua b/lua/nxvim/client/neovide.lua index 0d58d82..2463c20 100644 --- a/lua/nxvim/client/neovide.lua +++ b/lua/nxvim/client/neovide.lua @@ -1,8 +1,6 @@ local opt = vim.opt -opt.guifont = vim.g.osx and "Hasklug Nerd Font Mono:h16:#e-antialias:#h-none" - -- or "Hasklug Nerd Font Mono:h12.5:#e-antialias:#h-none", - or "Hasklug Nerd Font Mono:h12.5" --- guifont = "JetBrainsMono Nerd Font Mono:h12", + +opt.guifont = "Maple Mono NF:h12.5" if vim.g.multigrid then opt.winblend = 15 opt.pumblend = 15