Corrected a bug that didn't allow selection of OS
This commit is contained in:
parent
d058cadf33
commit
61f874fcaf
|
@ -3,8 +3,8 @@ function ColorMyPencils(color)
|
||||||
color = color or "rose-pine"
|
color = color or "rose-pine"
|
||||||
vim.cmd.colorscheme(color)
|
vim.cmd.colorscheme(color)
|
||||||
|
|
||||||
--vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||||
--vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@ lsp.on_attach(function(client, bufnr)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Language servers
|
-- Language servers
|
||||||
if (MY_OS == 'Linux') then
|
if (MY_OS == 'Linux')
|
||||||
|
then
|
||||||
lsp.ensure_installed({
|
lsp.ensure_installed({
|
||||||
-- Replace these with whatever servers you want to install
|
-- Replace these with whatever servers you want to install
|
||||||
'bashls',
|
'bashls',
|
||||||
|
@ -15,15 +16,18 @@ if (MY_OS == 'Linux') then
|
||||||
'ltex',
|
'ltex',
|
||||||
'pylsp',
|
'pylsp',
|
||||||
'texlab',
|
'texlab',
|
||||||
'zls'
|
--'zls'
|
||||||
})
|
})
|
||||||
elseif (MY_OS == 'FreeBSD') then
|
elseif (MY_OS == 'FreeBSD')
|
||||||
|
then
|
||||||
lsp.ensure_installed({
|
lsp.ensure_installed({
|
||||||
-- Replace these with whatever servers you want to install
|
-- Replace these with whatever servers you want to install
|
||||||
'bashls',
|
'bashls',
|
||||||
'julials',
|
'julials',
|
||||||
'pylsp',
|
'pylsp',
|
||||||
})
|
})
|
||||||
|
else
|
||||||
|
print('Should never be here')
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
Loading…
Reference in New Issue