cquery-project / emacs-cquery

Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
116 stars 14 forks source link

Strange complete and std format #52

Open dlyr opened 5 years ago

dlyr commented 5 years ago

Hi, I'm not sure where to search to correct this, so I start asking here. the *lsp-cquery stderr* buffer contains "color char commands" that are not interprented, see sample image : capture d ecran de 2018-10-08 00-12-16

Also, when I call complete on, I get bogus charaters, see below capture d ecran de 2018-10-08 00-13-43 capture d ecran de 2018-10-08 00-13-53

I have no chance to enter the function parameter, but get this bogus ${1

If anyone could point me where to look.

$ emacs -version GNU Emacs 25.2.2 Copyright (C) 2017 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.

up to date emacs-cquery, cquery and lsp

++ d

groundflyer commented 5 years ago

Have the same problem with emacs-26

dlyr commented 5 years ago

I switch to ccls, which has the same behavior. The issue come from that I haven't installed yasnippet. Then I install and activate yasnippet, and everything works fine.