working neorg font

This commit is contained in:
Christoph J. Scherr 2023-09-06 17:55:53 +02:00
parent 977309be39
commit d8f1bec118
2 changed files with 37 additions and 1 deletions

View File

@ -247,3 +247,7 @@ vim.filetype.add({
}) })
-- vim: set ts=2 sw=0 tw=80 noet : -- vim: set ts=2 sw=0 tw=80 noet :
-- Neorg extra stuff because fonts suck
opt.conceallevel = 2 -- btw 0-3
opt.concealcursor = "nc"

View File

@ -7,7 +7,7 @@ return {
'rafi/theme-loader.nvim', 'rafi/theme-loader.nvim',
lazy = false, lazy = false,
priority = 99, priority = 99,
opts = { initial_colorscheme = 'neohybrid' }, opts = { initial_colorscheme = 'kanagawa' },
}, },
{ 'rafi/neo-hybrid.vim', priority = 100, lazy = false }, { 'rafi/neo-hybrid.vim', priority = 100, lazy = false },
@ -70,4 +70,36 @@ return {
}, },
}, },
}, },
{
'rebelot/kanagawa.nvim',
lazy = true,
name = 'kanagawa',
config = function()
require('kanagawa').setup({
compile = false, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true },
functionStyle = {},
keywordStyle = { italic = true},
statementStyle = { bold = true },
typeStyle = {},
transparent = false, -- do not set background color
dimInactive = false, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
colors = { -- add/modify theme and palette colors
palette = {},
theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
},
overrides = function(colors) -- add/modify highlights
return {}
end,
theme = "wave", -- Load "wave" theme when 'background' option is not set
background = { -- map the value of 'background' option to a theme
dark = "wave", -- try "dragon" !
light = "lotus"
},
})
end
},
} }