diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-29 16:36:51 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-29 16:36:51 +0100 |
| commit | 916478eb344d619ecf930c164540f6fd41002626 (patch) | |
| tree | d9603e5225813c5ed442c26c70d87b5e6cca0eb9 /config/nvim/lua/plugins.lua | |
| parent | a51791d1487a9673b3749135456f39d5e5b724ca (diff) | |
Add orgmode
Diffstat (limited to 'config/nvim/lua/plugins.lua')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 24154d9..e17b35b 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -69,5 +69,20 @@ require('lazy').setup({ -- Tools 'vim-scripts/LargeFile', 'tpope/vim-fugitive', - 'milkypostman/vim-togglelist' + 'milkypostman/vim-togglelist', + + -- Org Mode + { 'nvim-orgmode/orgmode', + event = 'VeryLazy', + config = function() + -- Load treesitter grammar for org + require('orgmode').setup_ts_grammar() + + -- Setup orgmode + require('orgmode').setup({ + org_agenda_files = '~/brain/**/*.org', + org_default_notes_file = '~/brain/inbox.org', + }) + end, + } }) |