From 218dc8598caa03dc8f6beb8d4e1fafce87597bf4 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 18 May 2022 16:26:54 +0200 Subject: vim: gracefully handle absence of spinner.nvim --- .vim/lua/lsp.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to '.vim/lua/lsp.lua') 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, { -- cgit 1.4.1