diff --git a/lua/cmp_nvim_lsp_signature_help/init.lua b/lua/cmp_nvim_lsp_signature_help/init.lua index 5cbca70..b47dafa 100644 --- a/lua/cmp_nvim_lsp_signature_help/init.lua +++ b/lua/cmp_nvim_lsp_signature_help/init.lua @@ -169,7 +169,7 @@ source._signature_label = function(self, signature, parameter_index) local s, e = string.find(label, self:_parameter_label(signature, signature.parameters[parameter_index]), 1, true) if s and e then local active = string.sub(label, s, e) - label = string.gsub(label, vim.pesc(active), '***' .. active .. '***') + label = string.gsub(label, vim.pesc(active), "`" .. active .. "`") end end return label