Add debug name

This commit is contained in:
hrsh7th 2021-08-16 12:14:10 +09:00
parent bbe2523d10
commit 09e4ab0fb6
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ source.new = function(client)
return self return self
end end
source.get_debug_name = function(self)
return table.concat({ 'nvim_lsp', self.client.name }, ':')
end
source.get_trigger_characters = function(self) source.get_trigger_characters = function(self)
return self:_get(self.client.server_capabilities, { 'completionProvider', 'triggerCharacters' }) or {} return self:_get(self.client.server_capabilities, { 'completionProvider', 'triggerCharacters' }) or {}
end end