From 2aa125e814b45f6aac816f3d8eefc26327946675 Mon Sep 17 00:00:00 2001 From: Warwick Date: Fri, 12 Jan 2024 11:49:50 +0000 Subject: [PATCH] Added org bullets for prettier org. --- lua/core/plugin_config/org.lua | 16 +++++++++------- lua/core/plugins.lua | 4 ++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/lua/core/plugin_config/org.lua b/lua/core/plugin_config/org.lua index ea49944..4089736 100644 --- a/lua/core/plugin_config/org.lua +++ b/lua/core/plugin_config/org.lua @@ -2,20 +2,20 @@ require('orgmode').setup_ts_grammar() -- Treesitter configuration -require('nvim-treesitter.configs').setup { +require('nvim-treesitter.configs').setup({ -- If TS highlights are not enabled at all, or disabled via `disable` prop, -- highlighting will fallback to default Vim syntax highlighting highlight = { enable = true, -- Required for spellcheck, some LaTex highlights and -- code block highlights that do not have ts grammar - additional_vim_regex_highlighting = {'org'}, + additional_vim_regex_highlighting = { 'org' }, }, - ensure_installed = {'org'}, -- Or run :TSUpdate org -} + ensure_installed = { 'org' }, -- Or run :TSUpdate org +}) require('orgmode').setup({ - org_agenda_files = {'~/.vimwiki/org/**.org'}, + org_agenda_files = { '~/.vimwiki/org/**.org' }, org_default_notes_file = '~/.vimwiki/org/refile.org', }) @@ -25,7 +25,9 @@ require('cmp').setup({ } }) -require("orgWiki").setup { +require("orgWiki").setup({ wiki_path = { "~/.vimwiki/org/" }, diary_path = "~/.vimwiki/org/diary/", -} +}) + +require('org-bullets').setup() diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index b231316..179467c 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -70,6 +70,10 @@ local plugins = { { 'nvim-treesitter/nvim-treesitter', lazy = true }, }, }, + { + 'akinsho/org-bullets.nvim', + dependencies = { { 'nvim-orgmode/orgmode' } }, + }, { "ranjithshegde/orgWiki.nvim", dependencies = { { 'nvim-orgmode/orgmode' } },