LUSH installed; works and StatusLineNC works

This commit is contained in:
jimrothstein 2023-09-02 21:11:20 -07:00
parent e06872cf5f
commit e5975bc928
1 changed files with 18 additions and 9 deletions

View File

@ -46,15 +46,6 @@ vim.g.maplocalleader = ' '
-- for now turn on LIGHT
vim.cmd 'set background=light'
----------------
-- experimnetal
----------------
-- FAILS
-- 2 windows? change status line for non-current(NC)
vim.cmd [[
highlight StatusLineNC cterm=bold ctermfg=white ctermbg=darkgray
]]
-- Install package manager
-- https://github.com/folke/lazy.nvim
-- `:help lazy.nvim.txt` for more info
@ -166,6 +157,8 @@ require('lazy').setup({
{ 'ellisonleao/gruvbox.nvim' },
-- Configure LazyVim to load gruvbox
--
--
{
'LazyVim/LazyVim',
opts = {
@ -173,6 +166,12 @@ require('lazy').setup({
},
},
-- lush, tool to edit colorschemes, using lua, tutorials..
--
{
'rktjmp/lush.nvim' },
{
-- Set lualine as statusline
'nvim-lualine/lualine.nvim',
@ -187,6 +186,7 @@ require('lazy').setup({
},
},
-- bufferline (becuase? )
{ 'akinsho/bufferline.nvim', version = '*', dependencies = 'nvim-tree/nvim-web-devicons' },
@ -442,6 +442,15 @@ require('nvim-treesitter.configs').setup {
},
}
-- experimnetal - works! (2023-09-02)
-- ... but only small change in status line
----------------
-- PURPOSE: override default colo for color group StatusLineNC
-- 2 windows? change status line for non-current(NC)
vim.cmd [[
highlight StatusLineNC cterm=bold ctermfg=white ctermbg=darkgray
]]
-- Diagnostic keymaps
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' })
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnostic message' })