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 {