]> git.frustrated-labs.net Git - dotfiles.git/commitdiff
nvim: add workspaces plugin
authorAlexander Goussas <[email protected]>
Sun, 15 Jun 2025 06:20:13 +0000 (01:20 -0500)
committerAlexander Goussas <[email protected]>
Sun, 15 Jun 2025 06:20:13 +0000 (01:20 -0500)
nvim/.config/nvim/lazy-lock.json
nvim/.config/nvim/lua/plugins/core.lua
nvim/.config/nvim/lua/plugins/telescope.lua

index 1232030a20f3c32a38c1cf13a8fac47c19cc2525..6f770743454132694969c5149d3e433b2f1a952d 100644 (file)
@@ -16,5 +16,6 @@
   "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
   "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
   "toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
-  "vim-stylish-haskell": { "branch": "master", "commit": "60a59fd767956c40372b5aeab2d68a0a953ebb2b" }
+  "vim-stylish-haskell": { "branch": "master", "commit": "60a59fd767956c40372b5aeab2d68a0a953ebb2b" },
+  "workspaces.nvim": { "branch": "master", "commit": "55a1eb6f5b72e07ee8333898254e113e927180ca" }
 }
index 0adf095b3497ac78c577962b2e29d50833b2011f..76f04b3a3f97a99b6a465acf68396c113c64904e 100644 (file)
@@ -1,4 +1,16 @@
 return {
+  {
+    'natecraddock/workspaces.nvim',
+    config = function()
+      require('workspaces').setup({
+        auto_open = true,
+        hooks = {
+          open = 'NvimTreeOpen'
+          ,
+        },
+      })
+    end
+  },
   {
     'akinsho/toggleterm.nvim',
     version = "*",
index d14232bd95de156d183ec2007d8e164e99e2da6e..3cf0b8a787cf5c44aaf39e1f96a5e82753253b68 100644 (file)
@@ -28,6 +28,7 @@ return {
       })
 
       telescope.load_extension('grey')
+      telescope.load_extension("workspaces")
     end
   },
 }