summary refs log tree commit diff
path: root/.config/nvim/after/ftplugin/oil.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-13 18:08:30 +0100
committerRobert Günzler <r@gnzler.io>2026-02-13 18:08:30 +0100
commit8afe3fa8d88ae56e96f65897935ef508581ac5f7 (patch)
tree8e199f0aad89babaa5c460bd4d5ebdbd746ab615 /.config/nvim/after/ftplugin/oil.lua
parent63feeb9f369fc6176e85c1c2d8fcc863caad1946 (diff)
*
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/nvim/after/ftplugin/oil.lua')
-rw-r--r--.config/nvim/after/ftplugin/oil.lua48
1 files changed, 24 insertions, 24 deletions
diff --git a/.config/nvim/after/ftplugin/oil.lua b/.config/nvim/after/ftplugin/oil.lua
index 4d1c2c4..7d2b8bc 100644
--- a/.config/nvim/after/ftplugin/oil.lua
+++ b/.config/nvim/after/ftplugin/oil.lua
@@ -1,25 +1,25 @@
 
-local get_client = function()
-  local active_clients = vim.lsp.get_clients({ name = 'zk' })
-
-  if next(active_clients) == nil then
-    return
-  end
-
-  for _, v in ipairs(active_clients) do
-    if next(v.attached_buffers) ~= nil then
-      print(vim.inspect(v))
-      return v.id
-    end
-  end
-end
-
-local client_id = get_client()
-if client_id == nil then
-  return
-end
-
-local client = vim.lsp.get_client_by_id(client_id)
-print(vim.inspect(client))
-
-print('hi')
+-- local get_client = function()
+--   local active_clients = vim.lsp.get_clients({ name = 'zk' })
+--
+--   if next(active_clients) == nil then
+--     return
+--   end
+--
+--   for _, v in ipairs(active_clients) do
+--     if next(v.attached_buffers) ~= nil then
+--       print(vim.inspect(v))
+--       return v.id
+--     end
+--   end
+-- end
+--
+-- local client_id = get_client()
+-- if client_id == nil then
+--   return
+-- end
+--
+-- local client = vim.lsp.get_client_by_id(client_id)
+-- print(vim.inspect(client))
+--
+-- print('hi')