summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/headlines.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-08-09 02:45:31 -0400
committerSquibid <me@zacharyscheiman.com>2024-08-09 02:45:31 -0400
commitc489d393695e90d424f9ae51e35c4d42358e6a71 (patch)
tree12ea97ec4684fd82cd6b73dd127d0137b115837b /lua/conf/plugins/headlines.lua
parentad76983d969c318e6e234bc82384b4b025d70447 (diff)
downloadnvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.gz
nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.bz2
nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.zip
yes there's a bit of java in my nvim config why do you ask?
Diffstat (limited to '')
-rw-r--r--lua/conf/plugins/headlines.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/lua/conf/plugins/headlines.lua b/lua/conf/plugins/headlines.lua
new file mode 100644
index 0000000..c932d72
--- /dev/null
+++ b/lua/conf/plugins/headlines.lua
@@ -0,0 +1,28 @@
+return { 'lukas-reineke/headlines.nvim',
+ requires = 'nvim-treesitter/nvim-treesitter',
+ function()
+ require('headlines').setup {
+ norg = {
+ headline_highlights = {
+ "@neorg.headings.1.title",
+ "@neorg.headings.2.title",
+ "@neorg.headings.3.title",
+ "@neorg.headings.4.title",
+ "@neorg.headings.5.title",
+ "@neorg.headings.6.title"
+ },
+ bullets = { "", "", "", "" },
+ },
+ markdown = {
+ headline_highlights = {
+ "@neorg.headings.1.title",
+ "@neorg.headings.2.title",
+ "@neorg.headings.3.title",
+ "@neorg.headings.4.title",
+ "@neorg.headings.5.title",
+ "@neorg.headings.6.title"
+ }
+ }
+ }
+ end
+}