From d8f1bec118d23d315d6ac52ca1804de60706657c Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 6 Sep 2023 17:55:53 +0200 Subject: [PATCH] working neorg font --- lua/plex/config/options.lua | 4 ++++ lua/plex/plugins/colorscheme.lua | 34 +++++++++++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/lua/plex/config/options.lua b/lua/plex/config/options.lua index 169b4cb..50bf792 100644 --- a/lua/plex/config/options.lua +++ b/lua/plex/config/options.lua @@ -247,3 +247,7 @@ vim.filetype.add({ }) -- vim: set ts=2 sw=0 tw=80 noet : + +-- Neorg extra stuff because fonts suck +opt.conceallevel = 2 -- btw 0-3 +opt.concealcursor = "nc" diff --git a/lua/plex/plugins/colorscheme.lua b/lua/plex/plugins/colorscheme.lua index eab3175..5ae495f 100644 --- a/lua/plex/plugins/colorscheme.lua +++ b/lua/plex/plugins/colorscheme.lua @@ -7,7 +7,7 @@ return { 'rafi/theme-loader.nvim', lazy = false, priority = 99, - opts = { initial_colorscheme = 'neohybrid' }, + opts = { initial_colorscheme = 'kanagawa' }, }, { '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 + }, }