]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Add orgmode
authorRuben Beltran del Rio <redacted>
Thu, 29 Feb 2024 15:36:51 +0000 (16:36 +0100)
committerRuben Beltran del Rio <redacted>
Thu, 29 Feb 2024 15:36:51 +0000 (16:36 +0100)
config/nvim/lazy-lock.json
config/nvim/lua/plugins.lua
config/nvim/lua/treesitter_config.lua

index fb6306c694b61149e02cfb7c674a7aab21e09cac..de956955dd3dd9a8d24e4d356d2f0f23c628fe27 100644 (file)
@@ -1,20 +1,21 @@
 {
   "LargeFile": { "branch": "master", "commit": "3941a37b2b0288524300348a39521a46539bf9f6" },
-  "coq_nvim": { "branch": "coq", "commit": "6ce3cf79d66a47f368d173a2806fe107ac28f877" },
-  "fzf-lua": { "branch": "main", "commit": "91ec17b4fd0d810599f054eef08db967a0457fbf" },
+  "coq_nvim": { "branch": "coq", "commit": "76fa95ea445b3d33968ff60bc6a3e2e8e0132551" },
+  "fzf-lua": { "branch": "main", "commit": "d68d1cfde9bf82061dfdfe35b83fb8636e03766d" },
   "gemini.vim": { "branch": "master", "commit": "c9efb59c97b71c28d4678c79fd21fbdd3a69d196" },
   "lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
-  "neodev.nvim": { "branch": "main", "commit": "bbe17de89345ce40725e721d347c596dc4a02b32" },
+  "neodev.nvim": { "branch": "main", "commit": "84e0290f5600e8b89c0dfcafc864f45496a53400" },
   "nvim-dap": { "branch": "master", "commit": "fc880e82059eb21c0fa896be60146e5f17680648" },
   "nvim-dap-ui": { "branch": "master", "commit": "9720eb5fa2f41988e8770f973cd11b76dd568a5d" },
   "nvim-dap-vscode-js": { "branch": "main", "commit": "03bd29672d7fab5e515fc8469b7d07cc5994bbf6" },
-  "nvim-lspconfig": { "branch": "master", "commit": "1699ce10c3aaf861cfa0c1303fcd19d2ed93e7ad" },
-  "nvim-treesitter": { "branch": "master", "commit": "6bd108a6f10aa01b854c3c673b6d9d61662a8c93" },
+  "nvim-lspconfig": { "branch": "master", "commit": "9553725789be682ecd945a527ec552e489ea8534" },
+  "nvim-treesitter": { "branch": "master", "commit": "62b0bb4f24ad09f535efe44cc9d088f90dcd2498" },
+  "orgmode": { "branch": "master", "commit": "9c8cefb4a8caa5b9363e2ae5c767104ab8ac6731" },
   "snes-syntax-vim": { "branch": "master", "commit": "a6a699c8905f7b6119bf91e44f960667d9f03d59" },
   "tree-sitter-api-notation": { "branch": "main", "commit": "3113c6077d9ed1e662a891714ac00e1ee3bb7657" },
   "vim-closer": { "branch": "master", "commit": "6007d9db0a35e983af246b667282606612076b07" },
   "vim-endwise": { "branch": "master", "commit": "3719ffddb5e42bf67b55b2183d7a6fb8d3e5a2b8" },
-  "vim-fugitive": { "branch": "master", "commit": "011cf4fcb93a9649ffc6dcdff56ef948f5d0f7cc" },
+  "vim-fugitive": { "branch": "master", "commit": "2e88f14a585c014691904ba8fe39e6ea851c9422" },
   "vim-indent-object": { "branch": "master", "commit": "8ab36d5ec2a3a60468437a95e142ce994df598c6" },
   "vim-togglelist": { "branch": "master", "commit": "48f0d30292efdf20edc883e61b121e6123e03df7" }
 }
\ No newline at end of file
index 24154d995886c17104b0c9acc11bfe70e58964c2..e17b35bd85deb04133bb4ea357714610a17d5a02 100644 (file)
@@ -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,
+  }
 })
index 32e4ed2bd2a5342c8275b01a77c17ec2f7b1651a..be44d54124fe75aa0c233094832b31e38ad2c746 100644 (file)
@@ -18,6 +18,7 @@ require'nvim-treesitter.configs'.setup {
     'lua',
     'make',
     'markdown',
+    'org',
     'python',
     'ruby',
     'rust',