From a95bf37486b9f8f82a8ed07eec05ba09e257b23b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 14 Dec 2021 20:26:36 +0100 Subject: [PATCH 1/2] fix: match Markdown headings for TS plugin (#49) --- lua/rose-pine/theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 53db8b2..5971211 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -290,7 +290,7 @@ local theme = { TSTag = { fg = p.foam }, TSTagDelimiter = { fg = p.subtle }, TSText = { fg = p.text }, - -- TSTitle = {}, + TSTitle = { fg = config.colors.headings.h1, style = 'bold' }, -- TSType = {}, -- TSTypeBuiltin = {}, TSURI = { fg = p.gold }, From 79c84ef6d430a317bc9a5d52dad2e05bcc9573b9 Mon Sep 17 00:00:00 2001 From: Daniel Mathiot Date: Wed, 15 Dec 2021 15:25:45 +0100 Subject: [PATCH 2/2] Support for Neorg (#33) --- lua/rose-pine/theme.lua | 18 ++++++++++++++++++ readme.md | 1 + 2 files changed, 19 insertions(+) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 5971211..815fcfb 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -410,6 +410,24 @@ local theme = { VimwikiLink = { fg = p.rose }, VimwikiList = { fg = p.iris }, VimwikiNoExistsLink = { fg = p.love }, + + -- Neorg + -- https://github.com/nvim-neorg/neorg + NeorgHeading1Prefix = { fg = config.colors.headings.h1, style = 'bold' }, + NeorgHeading2Prefix = { fg = config.colors.headings.h2, style = 'bold' }, + NeorgHeading3Prefix = { fg = config.colors.headings.h3, style = 'bold' }, + NeorgHeading4Prefix = { fg = config.colors.headings.h4, style = 'bold' }, + NeorgHeading5Prefix = { fg = config.colors.headings.h5, style = 'bold' }, + NeorgHeading6Prefix = { fg = config.colors.headings.h6, style = 'bold' }, + + NeorgHeading1Title = { fg = config.colors.headings.h1, style = 'bold' }, + NeorgHeading2Title = { fg = config.colors.headings.h2, style = 'bold' }, + NeorgHeading3Title = { fg = config.colors.headings.h3, style = 'bold' }, + NeorgHeading4Title = { fg = config.colors.headings.h4, style = 'bold' }, + NeorgHeading5Title = { fg = config.colors.headings.h5, style = 'bold' }, + NeorgHeading6Title = { fg = config.colors.headings.h6, style = 'bold' }, + + NeorgMarkerTitle = { fg = p.text, style = 'bold' }, } vim.g.terminal_color_0 = p.overlay -- black diff --git a/readme.md b/readme.md index 9d2942e..5b7d666 100644 --- a/readme.md +++ b/readme.md @@ -37,6 +37,7 @@ use({ - **[WhichKey](https://github.com/folke/which-key.nvim)** - **[Indent-Blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)** - **[Neogit](https://github.com/TimUntersberger/neogit)** +- **[Neorg](https://github.com/nvim-neorg/neorg)** - **[Lualine](https://github.com/hoob3rt/lualine.nvim)** ```lua require('lualine').setup({