Why UltiSnips does not recognize my own snippets?
<p>Currently I use <strong>YouCompleteMe</strong> in Vim, then I have installed <strong>UltiSnips</strong> and <strong>vim-snippets</strong> with vundler. <strong>UltiSnips</strong> and <strong>YouCompleteMe</strong> are compatible and work properly; however, the problem comes when I define my own snippet because these are not recognized.</p>

<p>I suspect that the problem comes when I use the <code>UltiSnipsEdit</code> function because it creates the <code>UltiSnips</code> folder in my home directory and not inside the <code>.vim</code> folder. For example, when I am working with R scripts and I use <code>UltiSnipsEdit</code>, it creates the <code>r.snippets</code> file inside <code>/home/UltiSnips</code>. Then I define a snippet just to test:</p>

<pre><code>snippet test "Testing snip for R." 
# snipp is working
endsnippet
</code></pre>

<p>After saving the file, the snippet does not apper on the list of <strong>YouCompleteMe</strong> nor is expanded with <code>:UltiSnipsExpandTrigger</code> (<code>&lt;c-l&gt;</code> in my case).</p>