diff options
Diffstat (limited to 'lua/plugins/orgmode.lua')
-rw-r--r-- | lua/plugins/orgmode.lua | 103 |
1 files changed, 52 insertions, 51 deletions
diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua index fccd341..a16888e 100644 --- a/lua/plugins/orgmode.lua +++ b/lua/plugins/orgmode.lua @@ -1,54 +1,55 @@ return { - 'nvim-orgmode/orgmode', - dependencies = { - { -- Nicely formatted bullet Headings - "akinsho/org-bullets.nvim", - dependencies = { - "nvim-treesitter/nvim-treesitter", - }, - config = function() - local bullets = require('org-bullets') - bullets.setup { - symbols = { - -- list items - list = "", - checkboxes = { - done = { "", "OrgDone" }, -- or - todo = { "", "OrgTodo" }, -- or - half = { "", "OrgHalf" }, -- or - }, - }, - } - end, - }, { -- Format tables easily - "dhruvasagar/vim-table-mode", - }, - }, - event = { "BufEnter", "BufNewFile" }, - ft = { 'org' }, - config = function() - -- This is bound to org-modern: - -- local Menu = require("org-modern.menu") - -- Setup orgmode - require('orgmode').setup({ - -- win_split_mode = {'float', 0.9}, - -- win_split_mode = 'float', - org_agenda_files = '~/Dropbox/org/**/*', - org_default_notes_file = '~/Dropbox/org/index.org', - calendar_week_start_day = 0, - emacs_config = { - -- executable_path = '/opt/homebrew/bin/emacs', - config_path = '$HOME/.config/emacs/early-init.el', - }, - }) - vim.opt.conceallevel = 2 - vim.opt.concealcursor = 'v' + "nvim-orgmode/orgmode", + dependencies = { + { -- Nicely formatted bullet Headings + "akinsho/org-bullets.nvim", + dependencies = { + "nvim-treesitter/nvim-treesitter", + }, + config = function() + local bullets = require("org-bullets") + bullets.setup({ + symbols = { + -- list items + list = "", + checkboxes = { + done = { "", "OrgDone" }, -- or + todo = { "", "OrgTodo" }, -- or + half = { "", "OrgHalf" }, -- or + }, + }, + }) + end, + }, + { -- Format tables easily + "dhruvasagar/vim-table-mode", + }, + }, + event = { "BufEnter", "BufNewFile" }, + ft = { "org" }, + config = function() + -- This is bound to org-modern: + -- local Menu = require("org-modern.menu") + -- Setup orgmode + require("orgmode").setup({ + -- win_split_mode = {'float', 0.9}, + -- win_split_mode = 'float', + org_agenda_files = "~/Dropbox/org/**/*", + org_default_notes_file = "~/Dropbox/org/index.org", + calendar_week_start_day = 0, + emacs_config = { + -- executable_path = '/opt/homebrew/bin/emacs', + config_path = "$HOME/.config/emacs/early-init.el", + }, + }) + vim.opt.conceallevel = 2 + vim.opt.concealcursor = "v" - -- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option - -- add `org` to ignore_install - -- require('nvim-treesitter.configs').setup({ - -- ensure_installed = 'all', - -- ignore_install = { 'org' }, - -- }) - end, + -- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option + -- add `org` to ignore_install + -- require('nvim-treesitter.configs').setup({ + -- ensure_installed = 'all', + -- ignore_install = { 'org' }, + -- }) + end, } |