In Neovim, I get the following error on loading a file that matches the drupal filetype.

Error detected while processing function drupal#CtagsPath[3]..<SNR>88_FindPath:
line    3:
E475: Invalid argument: expected String or List
E475: Invalid argument: expected String or List
CommentFileSizeAuthor
#2 syntax_error_in-2729615-2.patch673 byteshawkeye.twolf

Comments

derek.deraps created an issue. See original summary.

hawkeye.twolf’s picture

StatusFileSize
new673 bytes

Patch attached. Verified the new syntax works in both Neovim and Vim.

hawkeye.twolf’s picture

For background on why the syntax change: This is probably due to the fact that Neovim's "vimscript" is actually parsed through Lua via a custom translator written by the Neovim team. Certain little things are bound to get missed.

rodrigoaguilera’s picture

Status: Active » Fixed

Commited. Thanks for the patch and I'm glad to read that the plugin works on neovim now :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.