nathom/filetype.nvim

[bug] Error executing lua ...im/site/pack/packer/start/filetype.nvim/lua/filetype.lua

Closed this issue · 1 comments

Hi,
Latest commit 4d64e40 broke my config, I gotta revert to 7b15a31 and it's working.

It happened when I opened nvim with Fennel .fnl filetype.

Error message:

Error detected while processing BufReadPost Autocommands for "*":
E5108: Error executing lua ...im/site/pack/packer/start/filetype.nvim/lua/filetype.lua:5: Vim(lua):E5108: Error executing lua ...d-master/share/nvim/runtime/lua/vim/treesitter/query.lua:161: query: error at position 513

I'm using

:version
NVIM v0.6.0-dev
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by _nixbld1

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/nix/store/wiay7prs3lxrnjs1mdn7ivc9nar6yvyh-neovim-unwrapped-master/share/nvim"

Run :checkhealth for more info

It appears Fennel treesitter grammar is broken.