From 8afe3fa8d88ae56e96f65897935ef508581ac5f7 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Fri, 13 Feb 2026 18:08:30 +0100 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .config/nvim/after/ftplugin/oil.lua | 48 ++++++++++++++++----------------- .config/nvim/after/ftplugin/todotxt.lua | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) (limited to '.config/nvim/after/ftplugin') 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') diff --git a/.config/nvim/after/ftplugin/todotxt.lua b/.config/nvim/after/ftplugin/todotxt.lua index 0e90d2b..526f29c 100644 --- a/.config/nvim/after/ftplugin/todotxt.lua +++ b/.config/nvim/after/ftplugin/todotxt.lua @@ -1 +1 @@ -vim.opt.textwidth = 0 +vim.opt_local.textwidth = 0 -- cgit 1.4.1