]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - config/nvim/lua/plugins.lua
Add orgmode
[rbdr/dotfiles] / config / nvim / lua / plugins.lua
index 17f2fb4d7b1bcf5b1d1de6b38a6d14a62132fb59..e17b35bd85deb04133bb4ea357714610a17d5a02 100644 (file)
@@ -50,6 +50,7 @@ require('lazy').setup({
   -- Debugging
   'mfussenegger/nvim-dap',
   'rcarriga/nvim-dap-ui',
+  'mxsdev/nvim-dap-vscode-js',
 
   -- Editing
   'ms-jpq/coq_nvim',
@@ -68,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,
+  }
 })