diff --git a/init.lua b/init.lua index 346fe0c..9ea6bb9 100644 --- a/init.lua +++ b/init.lua @@ -120,15 +120,14 @@ vim.g.guioptions = guiopts vim.opt.mouse = "nv" -if vim.fn.has('macunix') then - vim.opt.gfn = "FiraCode Nerd Font Mono:h16" -else +if vim.loop.os_uname().sysname == 'Linux' then vim.opt.gfn = "FiraCode Nerd Font Mono:h12" + require('nvim-projectconfig').setup({autocmd=true}) +else + vim.opt.gfn = "FiraCode Nerd Font Mono:h16" + require('nvim-projectconfig').setup() end -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