Fix Os detection
This commit is contained in:
parent
b23fd9b050
commit
5e5dd9e4d2
1 changed files with 5 additions and 6 deletions
11
init.lua
11
init.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue