From: Dmitry Gutov Date: Sun, 18 May 2014 12:38:33 +0000 (+0300) Subject: company-clang--annotation: include method qualifiers in the annotation X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/02a53fd97d6a23eedfa72964978df9e632157fc7 company-clang--annotation: include method qualifiers in the annotation Fixes #113 --- diff --git a/company-clang.el b/company-clang.el index 041754fb8..cc7660c34 100644 --- a/company-clang.el +++ b/company-clang.el @@ -147,7 +147,7 @@ or automatically through a custom `company-clang-prefix-guesser'." ((null meta) nil) ((string-match "[^:]:[^:]" meta) (substring meta (1+ (match-beginning 0)))) - ((string-match "\\((.*)\\'\\)" meta) + ((string-match "\\((.*)[ a-z]*\\'\\)" meta) (match-string 1 meta))))) (defun company-clang--strip-formatting (text)