tzachar / cmp-tabnine

TabNine plugin for hrsh7th/nvim-cmp
MIT License
287 stars 28 forks source link

Module 'cmp_tabnine.config' not found on Windows #32

Closed j-ilden closed 2 years ago

j-ilden commented 2 years ago

I am creating this for the possible followers of Chris@Machine's Neovim from scratch. This will definitely happen to those who follow his guide and config.

Related to https://github.com/tzachar/cmp-tabnine/issues/11 but this time on Windows 10 after fixing #24 #31 #30 README was not updated.

On windows, plugin cannot be loaded and lazy-loader (impatient.vim) throws the following error () :

E5113: Error while calling lua chunk: ...ck\packer\start\impatient.nvim\lua\impatient\profile.lua:146: ...ck\packer\start\impatient.nvim\lua\impatient\profile.lua:146: module 'cmp_tabnine.config' not found: no field package.preload['cmp_tabnine.config']No cache entry no file 'C:\Users\myusername\scoop\apps\lua\current' no file 'C:\Usersmyusername\scoop\apps\lua\current' no file 'C:\Users\myusername\scoop\apps\lua\current' stack traceback: [C]: in function 'error' ...ck\packer\start\impatient.nvim\lua\impatient\profile.lua:146: in function 'require' C:\Users\myusername\AppData\Local\nvim\init.lua:22: in main chunk

j-ilden commented 2 years ago

https://github.com/tzachar/cmp-tabnine/pull/33

tzachar commented 2 years ago

Fixed in #33