Fix Os detection

This commit is contained in:
Thomas Gideon 2024-06-23 10:35:09 -04:00
parent b23fd9b050
commit 5e5dd9e4d2

View file

@ -120,15 +120,14 @@ vim.g.guioptions = guiopts
vim.opt.mouse = "nv" vim.opt.mouse = "nv"
if vim.fn.has('macunix') then if vim.loop.os_uname().sysname == 'Linux' then
vim.opt.gfn = "FiraCode Nerd Font Mono:h16"
else
vim.opt.gfn = "FiraCode Nerd Font Mono:h12" 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 end
if not vim.fn.has('macunix') then
require('nvim-projectconfig').setup({autocmd=true})
end
require("trouble").setup { require("trouble").setup {
-- your configuration comes here -- your configuration comes here
-- or leave it empty to use the default settings -- or leave it empty to use the default settings