remove nvim font size it doesnt work without guinvim

This commit is contained in:
Harivansh Rathi 2026-04-03 03:06:03 +00:00 committed by Hari
parent ff602381b4
commit a57bb229dc
2 changed files with 1 additions and 6 deletions

View file

@ -1,6 +1,4 @@
local o, opt = vim.o, vim.opt
local gui_font_family = "Berkeley Mono"
local gui_font_size = 15
o.number = true
o.relativenumber = true
@ -42,5 +40,3 @@ o.foldenable = true
o.updatetime = 250
o.mouse = 'a'
o.clipboard = 'unnamedplus'
if vim.g.neovide then o.guifont = ("%s:h%s"):format(gui_font_family, gui_font_size) end

View file

@ -2,7 +2,6 @@
config,
lib,
pkgs,
hostConfig,
...
}:
let
@ -24,7 +23,7 @@ in
{
# Keep rust-analyzer in the user profile so it shadows rustup's proxy in
# /run/current-system/sw/bin when Neovim resolves LSP executables.
home.packages = [ pkgs.rust-analyzer ] ++ lib.optionals hostConfig.isDarwin [ pkgs.neovide ];
home.packages = [ pkgs.rust-analyzer ];
programs.neovim = {
enable = true;