Added org bullets for prettier org.

This commit is contained in:
Warwick 2024-01-12 11:49:50 +00:00
parent c5e43df9ad
commit 2aa125e814
2 changed files with 13 additions and 7 deletions

View file

@ -2,20 +2,20 @@
require('orgmode').setup_ts_grammar() require('orgmode').setup_ts_grammar()
-- Treesitter configuration -- 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, -- If TS highlights are not enabled at all, or disabled via `disable` prop,
-- highlighting will fallback to default Vim syntax highlighting -- highlighting will fallback to default Vim syntax highlighting
highlight = { highlight = {
enable = true, enable = true,
-- Required for spellcheck, some LaTex highlights and -- Required for spellcheck, some LaTex highlights and
-- code block highlights that do not have ts grammar -- 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({ require('orgmode').setup({
org_agenda_files = {'~/.vimwiki/org/**.org'}, org_agenda_files = { '~/.vimwiki/org/**.org' },
org_default_notes_file = '~/.vimwiki/org/refile.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/" }, wiki_path = { "~/.vimwiki/org/" },
diary_path = "~/.vimwiki/org/diary/", diary_path = "~/.vimwiki/org/diary/",
} })
require('org-bullets').setup()

View file

@ -70,6 +70,10 @@ local plugins = {
{ 'nvim-treesitter/nvim-treesitter', lazy = true }, { 'nvim-treesitter/nvim-treesitter', lazy = true },
}, },
}, },
{
'akinsho/org-bullets.nvim',
dependencies = { { 'nvim-orgmode/orgmode' } },
},
{ {
"ranjithshegde/orgWiki.nvim", "ranjithshegde/orgWiki.nvim",
dependencies = { { 'nvim-orgmode/orgmode' } }, dependencies = { { 'nvim-orgmode/orgmode' } },