From 7425eda3e544fcb1ce81a09c5ff49d839e58ac94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Tue, 6 Aug 2024 14:11:59 +0200 Subject: nvim: rework lsp module There's still some improvements to be made, but this is cleaner. We lose global caps defaults, but those made no sense to begin with. We do also lose caps overrides, I'll add them back in if I need them. In the process, we gain `every?` and `executable?`. There's also a misc comp print vim.inspect to vim.print change. --- dot_config/nvim/fnl/plugins/lsp/attach.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dot_config/nvim/fnl/plugins/lsp/attach.fnl') diff --git a/dot_config/nvim/fnl/plugins/lsp/attach.fnl b/dot_config/nvim/fnl/plugins/lsp/attach.fnl index 83a68aa..ed2eb2d 100644 --- a/dot_config/nvim/fnl/plugins/lsp/attach.fnl +++ b/dot_config/nvim/fnl/plugins/lsp/attach.fnl @@ -20,8 +20,8 @@ (· :wa lbf.add_workspace_folder & :desc "add folder") (· :wr lbf.remove_workspace_folder & :desc "remove folder") - (· :wl #(print (vim.inspect (lbf.list_workspace_folders))) & - :desc "list folders")] + (· :wl #(vim.print (lbf.list_workspace_folders))) & + :desc "list folders"] ll (map #(assoc $ 1 (.. : (. $ 1))) ll)] (vim.api.nvim_buf_set_option b :omnifunc :v:lua.vim.lsp.omnifunc) (recc :which-key :add -- cgit v1.2.3