kickstart: changed colorscheme to gruvbox, appears to be working
This commit is contained in:
parent
af36a9c157
commit
bf5920c98e
31
init.lua
31
init.lua
|
@ -44,7 +44,7 @@ vim.g.mapleader = ' '
|
||||||
vim.g.maplocalleader = ' '
|
vim.g.maplocalleader = ' '
|
||||||
|
|
||||||
-- for now turn on LIGHT
|
-- for now turn on LIGHT
|
||||||
vim.cmd("set background=light")
|
vim.cmd 'set background=light'
|
||||||
|
|
||||||
-- Install package manager
|
-- Install package manager
|
||||||
-- https://github.com/folke/lazy.nvim
|
-- https://github.com/folke/lazy.nvim
|
||||||
|
@ -93,7 +93,7 @@ require('lazy').setup({
|
||||||
'williamboman/mason-lspconfig.nvim',
|
'williamboman/mason-lspconfig.nvim',
|
||||||
|
|
||||||
-- Useful status updates for LSP
|
-- Useful status updates for LSP
|
||||||
-- NOTE !!
|
-- NOTE !!
|
||||||
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
|
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
|
||||||
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
||||||
|
|
||||||
|
@ -141,6 +141,7 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
-- jr removed:
|
||||||
-- Theme inspired by Atom
|
-- Theme inspired by Atom
|
||||||
--[[
|
--[[
|
||||||
-- TOO DARK !
|
-- TOO DARK !
|
||||||
|
@ -152,6 +153,17 @@ require('lazy').setup({
|
||||||
--]]
|
--]]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- add gruvbox
|
||||||
|
{ 'ellisonleao/gruvbox.nvim' },
|
||||||
|
|
||||||
|
-- Configure LazyVim to load gruvbox
|
||||||
|
{
|
||||||
|
'LazyVim/LazyVim',
|
||||||
|
opts = {
|
||||||
|
colorscheme = 'gruvbox',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
-- Set lualine as statusline
|
-- Set lualine as statusline
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
|
@ -229,6 +241,19 @@ require('lazy').setup({
|
||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
-- NOTE: You can change these options as you wish!
|
-- NOTE: You can change these options as you wish!
|
||||||
|
|
||||||
|
-- jr: HOST
|
||||||
|
-- $HOST is shell environmental var, set by initialize.zsh
|
||||||
|
local HOST = os.getenv 'HOST' --- which machine?
|
||||||
|
if true then
|
||||||
|
print('LUA thinks I am using ' .. vim.inspect(HOST))
|
||||||
|
end
|
||||||
|
|
||||||
|
if HOST == 'jim-ThinkPad-T480' then
|
||||||
|
vim.cmd [[ set background=light]]
|
||||||
|
else
|
||||||
|
vim.cmd [[ set background=dark]] -- acer-desktop
|
||||||
|
end
|
||||||
|
|
||||||
-- Set highlight on search
|
-- Set highlight on search
|
||||||
vim.o.hlsearch = false
|
vim.o.hlsearch = false
|
||||||
|
|
||||||
|
@ -484,7 +509,7 @@ mason_lspconfig.setup_handlers {
|
||||||
settings = servers[server_name],
|
settings = servers[server_name],
|
||||||
filetypes = (servers[server_name] or {}).filetypes,
|
filetypes = (servers[server_name] or {}).filetypes,
|
||||||
}
|
}
|
||||||
end
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- [[ Configure nvim-cmp ]]
|
-- [[ Configure nvim-cmp ]]
|
||||||
|
|
Loading…
Reference in New Issue