summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/org-bullets.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-26 16:42:27 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-26 16:42:27 -0400
commit5e79444043c2e458e5d914677ce41ac8c94bc86e (patch)
tree2c7ec118244e6ef8f1b255c98844c4a121747067 /lua/ben/plugins/org-bullets.lua
parentad1098a0110e0d5a3e303b67157e0910c85cea87 (diff)
Lazy load vim tables and org-bullets
Diffstat (limited to 'lua/ben/plugins/org-bullets.lua')
-rw-r--r--lua/ben/plugins/org-bullets.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/ben/plugins/org-bullets.lua b/lua/ben/plugins/org-bullets.lua
new file mode 100644
index 0000000..2cac205
--- /dev/null
+++ b/lua/ben/plugins/org-bullets.lua
@@ -0,0 +1,25 @@
+return {
+ "akinsho/org-bullets.nvim",
+ dependencies = {
+ {
+ "nvim-orgmode/orgmode",
+ dependencies = "nvim-treesitter/nvim-treesitter",
+ },
+ },
+ -- Only load org-bullets while in actual org files
+ ft = { "org" },
+ config = function()
+ require("org-bullets").setup({
+ symbols = {
+ concealcursor = false,
+ list = "",
+ headlines = { "◉", "○", "󰮍", "󱥸" },
+ checkboxes = {
+ half = { "", "OrgTSCheckboxHalfChecked" },
+ done = { "", "OrgTSCheckboxDone" },
+ todo = { "", "OrgTSCheckboxTODO" },
+ },
+ },
+ })
+ end,
+}