Note that there are some explanatory texts on larger screens.

plurals
  1. PONot able to hide <# and #> with parameters for clang_snippets=1 with clang_complete
    text
    copied!<p>I've set this on my .vimrc:</p> <pre><code>let g:clang_snippets=1 let g:clang_snippets_engine='clang_complete' let g:clang_conceal_snippets=1 set conceallevel=2 concealcursor=inv </code></pre> <p>I don't know how conceal is expected to work, maybe the clang_complete's docs should have a tip for a specific setting to hide the snippets adorns.</p> <p>How do I hide it? I'm using MacVim built with <code>+conceal</code>, but it's not working. <a href="https://gist.github.com/3194336" rel="nofollow">This is my messy .vimrc</a> by now.</p> <p>NOTE: I'm sticking with <code>g:clang_snippets_engine='clang_complete'</code> because it seems to be more smart than the snipMate parameter completion, switching to NORMAL mode is a wiser choice to navigate between parameters since I can use SuperTab completion for params in INSERT mode while being able to navigate through them with the same tab at NORMAL mode. snipMate engine was acting weird to me sometimes too, sometimes it switched to a parameter after a completion, sometimes not.</p> <p>Also, I'm missing a final tab to go after the last parameter, right after the function call (snipMate does that), so I can just insert <code>;</code> and hit <code>Enter</code>.</p> <p>Disclaimer: This question is related with the issue at <a href="https://github.com/Rip-Rip/clang_complete/issues/176" rel="nofollow">https://github.com/Rip-Rip/clang_complete/issues/176</a>.</p> <p><strong>EDIT:</strong></p> <p>My problem was with this line at my .vimrc:</p> <pre><code>au BufNewFile,BufRead *.cpp set syntax=cpp11 </code></pre> <p>I'm using <a href="http://www.vim.org/scripts/script.php?script_id=3797" rel="nofollow">C++11 Syntax Support</a> and @xaizek has discovered and pointed it out as the problem in the comments bellow in the accepted response, it seems the root cause is the use of the <code>syntax clear</code> command in it.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload