From cd9c45cf26aed736aa77432c3b2958439113a3e7 Mon Sep 17 00:00:00 2001 From: thomas-gideon-gm Date: Thu, 18 Apr 2024 17:21:36 -0400 Subject: [PATCH] macOS adjustments --- init.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 33cf2c3..1e635f7 100644 --- a/init.lua +++ b/init.lua @@ -122,9 +122,15 @@ vim.g.guioptions = guiopts vim.opt.mouse = "nv" -vim.opt.gfn = "FiraCode Nerd Font Mono:h12" +if vim.fn.has('macunix') then + vim.opt.gfn = "FiraCode Nerd Font Mono:h16" +else + vim.opt.gfn = "FiraCode Nerd Font Mono:h12" +end -require('nvim-projectconfig').setup({autocmd=true}) +if not vim.fn.has('macunix') then + require('nvim-projectconfig').setup({autocmd=true}) +end require("trouble").setup { -- your configuration comes here -- or leave it empty to use the default settings