use github colorscheme for nvim

This commit is contained in:
zleyyij
2024-11-04 10:31:20 -07:00
parent 2d51753876
commit 6543069666
4 changed files with 34 additions and 10 deletions

View File

@ -247,12 +247,14 @@ vim.opt.rtp:prepend(lazypath)
-- then, setup!
require("lazy").setup({
-- main color scheme
-- Switched to https://github.com/projekt0n/github-nvim-theme
--
{
"wincent/base16-nvim",
"projekt0n/github-nvim-theme",
lazy = false, -- load at start
priority = 1000, -- load first
config = function()
vim.cmd([[colorscheme base16-gruvbox-dark-hard]])
vim.cmd([[colorscheme github_dark]])
vim.o.background = 'dark'
-- XXX: hi Normal ctermbg=NONE
-- Make comments more prominent -- they are important.
@ -269,6 +271,28 @@ require("lazy").setup({
end
},
-- nice bar at the bottom
-- {
-- "wincent/base16-nvim",
-- lazy = false, -- load at start
-- priority = 1000, -- load first
-- config = function()
-- vim.cmd([[colorscheme base16-gruvbox-dark-hard]])
-- vim.o.background = 'dark'
-- -- XXX: hi Normal ctermbg=NONE
-- -- Make comments more prominent -- they are important.
-- local bools = vim.api.nvim_get_hl(0, { name = 'Boolean' })
-- vim.api.nvim_set_hl(0, 'Comment', bools)
-- -- Make it clearly visible which argument we're at.
-- local marked = vim.api.nvim_get_hl(0, { name = 'PMenu' })
-- vim.api.nvim_set_hl(0, 'LspSignatureActiveParameter', { fg = marked.fg, bg = marked.bg, ctermfg = marked.ctermfg, ctermbg = marked.ctermbg, bold = true })
-- -- XXX
-- -- Would be nice to customize the highlighting of warnings and the like to make
-- -- them less glaring. But alas
-- -- https://github.com/nvim-lua/lsp_extensions.nvim/issues/21
-- -- call Base16hi("CocHintSign", g:base16_gui03, "", g:base16_cterm03, "", "", "")
-- end
-- },
-- nice bar at the bottom
{
'itchyny/lightline.vim',
lazy = false, -- also load at start since it's UI