Skip to content

Commit

Permalink
client: update font settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Dec 29, 2024
1 parent 953ee62 commit 18824a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lua/nxvim/client/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local M = {}
nx.opts = {
float_win_border = "rounded",
transparency = true,
second_font = true,
second_font = false,
}

-- MacOS
Expand All @@ -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
Expand Down
6 changes: 2 additions & 4 deletions lua/nxvim/client/neovide.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 18824a1

Please sign in to comment.