]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - config/nvim/lua/plugins.lua
Add orgmode
[rbdr/dotfiles] / config / nvim / lua / plugins.lua
index 0a43a3e7caaf48ff891bf4a853490034a6ea7621..e17b35bd85deb04133bb4ea357714610a17d5a02 100644 (file)
@@ -44,21 +44,23 @@ require('lazy').setup({
   },
 
   -- Syntaxes
-  'https://git.sr.ht/~rbdr/api-notation.vim',
   'ARM9/snes-syntax-vim',
   'https://git.sr.ht/~torresjrjr/gemini.vim',
 
   -- Debugging
   'mfussenegger/nvim-dap',
   'rcarriga/nvim-dap-ui',
+  'mxsdev/nvim-dap-vscode-js',
 
   -- Editing
+  'ms-jpq/coq_nvim',
   'tpope/vim-endwise',
   'rstacruz/vim-closer',
   'michaeljsmith/vim-indent-object',
 
   -- Treesitter
   'nvim-treesitter/nvim-treesitter',
+  'https://git.sr.ht/~rbdr/tree-sitter-api-notation',
 
   -- LSP
   'neovim/nvim-lspconfig',
@@ -67,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,
+  }
 })