mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 07:04:47 +00:00
remove nvim font size it doesnt work without guinvim
This commit is contained in:
parent
ff602381b4
commit
782b2ea852
2 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue