When creating a new file for writing a calculation and using <tab> to auto-complete a function, the following error occurs:
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/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 54, in wrapper
return func(self, _args, *_kwds)
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 118, in expand
if not self._try_expand():
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 546, in _try_expand
snippets = self._snips(before, False)
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 461, in _snips
source.ensure(filetypes)
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 37, in ensure
self._load_snippets_for(ft)
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 67, in _load_snippets_for
self._parse_snippets(ft, fn)
File "/Users/theUser/.vim/bundle/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 83, in _parse_snippets
raise SnippetSyntaxError(filename, line_index, msg)
SnippetSyntaxError: Invalid line 'abbr Average ( field { ; field... } )' in ~/.vim/bundle/filemaker.vim/snippets/fmcalc.snippets:11
This happens independently from what function you want to complete. However, when you quit this error and try again, it always works (and continues to work until you open the file again). So it just occurs one time per editing session.
When creating a new file for writing a calculation and using <tab> to auto-complete a function, the following error occurs:
This happens independently from what function you want to complete. However, when you quit this error and try again, it always works (and continues to work until you open the file again). So it just occurs one time per editing session.