diff options
| author | Robert Günzler <r@gnzler.io> | 2022-05-18 16:26:54 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-05-27 14:08:50 +0200 |
| commit | 218dc8598caa03dc8f6beb8d4e1fafce87597bf4 (patch) | |
| tree | 3f93cb2698662402be44569f4b5b27281fd65e28 /.vim/lua/lsp.lua | |
| parent | cfb3bccc73a959ecf34661b2a1b00f0315f707cb (diff) | |
vim: gracefully handle absence of spinner.nvim
Diffstat (limited to '')
| -rw-r--r-- | .vim/lua/lsp.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/.vim/lua/lsp.lua b/.vim/lua/lsp.lua index 215b269..9d80889 100644 --- a/.vim/lua/lsp.lua +++ b/.vim/lua/lsp.lua @@ -1,5 +1,4 @@ local lsp = require('lspconfig') --- local spinner_lsp = require('spinner.lsp') local lspstatus = require('lsp-status') local my_attach = function(client, bufnr) @@ -27,7 +26,6 @@ local my_attach = function(client, bufnr) end, }) - -- spinner_lsp.on_attach(client, bufnr) lspstatus.on_attach(client) if client.supports_method('textDocument/definition') then @@ -98,7 +96,6 @@ local my_attach = function(client, bufnr) end local my_exit = function(_, _, _) - -- spinner_lsp.on_exit(code, signal, client_id) end local capabilities = function() @@ -231,8 +228,6 @@ local servers = { local setup = function() local caps = capabilities() - -- spinner_lsp.setup() - -- spinner_lsp.init_capabilities(caps) for server, opts in pairs(servers) do if not opts.disabled then opts = vim.tbl_extend('error', opts, { |