From f3d4ab7797ecb59bb1e34ca6a2c7e7c64a39065e Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 25 Dec 2022 16:34:21 -0800 Subject: [PATCH] Added pylsp --- fnl/plugin/lsp.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fnl/plugin/lsp.fnl b/fnl/plugin/lsp.fnl index 937fd63..235c50e 100644 --- a/fnl/plugin/lsp.fnl +++ b/fnl/plugin/lsp.fnl @@ -15,14 +15,14 @@ (bind! :n : vim.lsp.buf.signature_help buf) (bind! :n :wa vim.lsp.buf.add_workspace_folder buf) (bind! :n :wr vim.lsp.buf.remove_workspace_folder buf) - (bind! :n :wl #(print (vim.inspect + (bind! :n :wl #(print (vim.inspect (vim.lsp.buf.list_workspace_folders))) buf) (bind! :n :D vim.lsp.buf.type_definition buf) (bind! :n :rn vim.lsp.buf.rename buf) ; (bind! :n :cn vim.lsp.buf.code_action buf) ; (bind! :n :gr vim.lsp.buf.references buf) (bind! :n :o #(vim.lsp.buf.format { :async true }) buf) - + ;; Some telescope commands (let [fzf (require :fzf-lua)] (bind! :n :gr fzf.lsp_references buf) @@ -61,6 +61,7 @@ (setup-server! :gopls) (setup-server! :rust_analyzer) (setup-server! :texlab) + (setup-server! :pylsp) (setup-server! :sumneko_lua :settings { :Lua {