An error occured. This is either a bug in UltiSnips or a bug in a
snippet definition. If you think this is a bug, please report it to
https://github.com/SirVer/ultisnips/issues/new.
Following is the full stack trace:
Traceback (most recent call last):
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/err_to_scratch_buffer.py", line 16, in wrapper
return func(self, *args, **kwds)
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 151, in snippets_in_current_scope
snippets = self._snips(before, True)
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 575, in _snips
source.ensure(filetypes, cached=autotrigger_only)
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 47, in ensure
self._load_snippets_for(ft)
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 80, in _load_snippets_for
self._parse_snippets(ft, fn)
File "/Users/sassanharadji/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 99, in _parse_snippets
raise SnippetSyntaxError(filename, line_index, msg)
SnippetSyntaxError: Invalid line ' *.i' in ~/.config/nvim/plugged/vim-gitignore/snippets/gitignore/CUDA.snippets:3
I'm using UltiSnips and I get this error when I open a
.gitignorefile: