aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/workspaces.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-13 14:22:27 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-13 14:22:27 +0100
commitfd9d9dea546eba3a226674acd68fcc8cbdb791e4 (patch)
treedba4ff526dffaada7438aa5a81fda03d8e1af4aa /after/plugin/workspaces.lua
parent0586c7a92cc352925e0e60009dd4ec975880748c (diff)
downloadnvim-conf-fd9d9dea546eba3a226674acd68fcc8cbdb791e4.tar.gz
nvim-conf-fd9d9dea546eba3a226674acd68fcc8cbdb791e4.zip
feat: remove old file
Diffstat (limited to 'after/plugin/workspaces.lua')
-rw-r--r--after/plugin/workspaces.lua43
1 files changed, 0 insertions, 43 deletions
diff --git a/after/plugin/workspaces.lua b/after/plugin/workspaces.lua
deleted file mode 100644
index 45df9af..0000000
--- a/after/plugin/workspaces.lua
+++ /dev/null
@@ -1,43 +0,0 @@
--- local ok, workspaces = pcall(require, "workspaces")
--- if not ok then
--- return
--- end
-
--- local scandir = require("plenary.scandir")
-
-
--- require("sessions").setup({
--- events = {"WinEnter", "BufEnter", "BufWritePost" },
--- session_filepath = ".nvim/session",
--- })
--- workspaces.setup({
--- hooks = {
--- open = function()
--- require("sessions").load(nil, { silent = true })
--- end,
--- }
--- })
-
-
--- local ws = workspaces.get()
--- local function workspace_exists(name)
--- for _, workspace in ipairs(ws) do
--- if workspace.name == name then
--- return true
--- end
--- end
--- return false
--- end
-
-
--- local dirs = scandir.scan_dir(
--- { "/home/alpha/code/php" },
--- { depth = 1, only_dirs = true }
--- )
-
--- for _, path in ipairs(dirs) do
--- local name = "[PHP]" .. vim.fs.basename(path)
--- if not workspace_exists(name) then
--- workspaces.add(name, path)
--- end
--- end