From b1ebdb0a17daaad13606b802780313a32e59781b Mon Sep 17 00:00:00 2001 From: hrsh7th <629908+hrsh7th@users.noreply.github.com> Date: Mon, 15 Aug 2022 01:38:44 +0900 Subject: [PATCH] Add FAQ for clangd's command-line arguments. Fixes #999 --- doc/cmp.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/cmp.txt b/doc/cmp.txt index c19d51c..740ac43 100644 --- a/doc/cmp.txt +++ b/doc/cmp.txt @@ -807,6 +807,12 @@ How to disable the documentation window?~ }) < +I'm using clangd. The menu items are mis-indented.~ + + It's caused by clangd. You can specify `--header-insertion-decorators` for + clangd's command-line arguments. See #999. + + How to integrate with copilot.vim?~ Copilot.vim and nvim-cmp both have a `key-mapping fallback` mechanism.