Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files under data/ are not copied in rockspec #390

Closed
kotatsuyaki opened this issue Jul 29, 2022 · 2 comments
Closed

Files under data/ are not copied in rockspec #390

kotatsuyaki opened this issue Jul 29, 2022 · 2 comments

Comments

@kotatsuyaki
Copy link

kotatsuyaki commented Jul 29, 2022

Binary rocks created from the rockspec does not contain the files under data/, which causes require('plenary.filetype').detect('...') to return empty strings while it should not.

Additional Context: I initially observed the problem on NixOS, since nixpkgs is using plenary from luarocks, packaged by @teto. The filetype detection problem prevents telescope from providing syntax highlight for Rust (and some other filetypes) files in :Telescope find_files. My current working workaround is to copy base.lua and builtin.lua to $HOME/.config/nvim/data/plenary/filetypes.

@teto
Copy link
Contributor

teto commented Jul 30, 2022

I haven't tested yet #391

@Conni2461
Copy link
Collaborator

fixed by 31807ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants