justmao945 / vim-clang

Clang completion plugin for vim
ISC License
358 stars 47 forks source link

Gutter icon or highlight line where error is present? #122

Open DougBeney opened 6 years ago

DougBeney commented 6 years ago

First of all, thank you for making this plugin. So great to switch away from YCM. Whenever I create a new project now that utilizes another library, all I have to do is create a .clang file and run read !pkg-config [my args] and all of the flags will be set. Super easy. I do appreciate the compile_commands support too.

I'm wondering if there is any way to display errors inline. By that I either mean a little red 'x' in the gutter of the problematic line or highlighting the line in some way.

Also, would you be interested if I add docuementation on how to add a key binding to trigger the auto-complete menu in insert mode - in either the readme or :help text document? That was something that took me a bit to figure out how to do since YCM did it by default. (Solution was adding this to allow for C-space: inoremap <C-space> <C-x><C-o> )

justmao945 commented 6 years ago

Sorry for that I have not enough time to add this feature, so it would be appreciated if anyone could do it.

DougBeney commented 6 years ago

Completely understand. Should I keep this issue open in case someone sees it and wants to implement the feature?

justmao945 commented 6 years ago

It's OK to keep it open. haha