vim couldn't jump a definition navigation for template functions
<p>I have a .h file who contains these code:</p>

<pre><code>template&lt;BLA&gt;
func1() {}

// something 

template&lt;BLA&gt;
func2() {
  func1();
}
</code></pre>

<p>when I typed the command GoToDefinition, the error appeared :"YCM : 'RuntimeError : can't jump to definition.'".
Do I miss something? And how to find the definition?</p>

<p>By the way, I have this in my .vimrc:</p>

<pre><code>let g:ycm_global_ycm_extra_conf = ' ~/ycm_extra_conf.py'
</code></pre>

<p>**************second edit*******************</p>

<p>I reinstalled my YCM, and I tried ctags for YCM by this command :</p>

<pre><code>ctags -R --fields=+l 
</code></pre>

<p>It works, and thanks.</p>