Git Product home page Git Product logo

Comments (8)

jpaulogg avatar jpaulogg commented on July 26, 2024

Hi!

The path to the plugin directory is definde here. The default path is ~/.config/vis/plugins/vis-ins-completion/.
I see that you are using vis-plug. You can try one of these:

  1. Manually edit ~/.cache/vis-plug/plugins/vis-ins-completion/init.vim file. Replace the default path plugins/vis-ins-completion/ with /home/opn/vis-plug/plugins/vis-ins-completion/
  2. Change your vis-plug directory in your visrc: plug.set_path('~/.config/vis'). Then, reinstall all your plugins.
  3. Follow these instructions to install the plugin without vis-plug.

The error was happening because the default path was wrongly defined as plugins/ins-completion. Fixed in da0690b.

from vis-ins-completion.

 avatar commented on July 26, 2024

Thanks. I followed number 2.

from vis-ins-completion.

 avatar commented on July 26, 2024

I didn't understand this line in error message,

no file '/home/opn/.cache/vis-plug/plugins/ins-completion/complete-dict.lua'

from vis-ins-completion.

jpaulogg avatar jpaulogg commented on July 26, 2024

I didn't understand this line in error message,

no file '/home/opn/.cache/vis-plug/plugins/ins-completion/complete-dict.lua'

It seems that all errors happened because the default path was wrongly defined as plugins/ins-completion. My mistake. I fixed this in da0690b.

So you probably did not need to follow any of the steps I described earlier 😅.

from vis-ins-completion.

 avatar commented on July 26, 2024

how did it work when i followed number 2?

it was looking for

/home/opn/.config/vis/plugins/ins-completion/complete-dict.lua

but that file was at

/home/opn/.config/vis/plugins/vis-ins-completion/complete-dict.lua

from vis-ins-completion.

jpaulogg avatar jpaulogg commented on July 26, 2024

how did it worked when i followed number 2.

it was looking for

/home/opn/.config/vis/plugins/ins-completion/complete-dict.lua

but that file was at

/home/opn/.config/vis/plugins/vis-ins-completion/complete-dict.lua

Exactly! In my computer I renamed vis-ins-completion to ins-completion and changed my local init.lua to that... So I ended up doing some mess. Sorry about that!

from vis-ins-completion.

 avatar commented on July 26, 2024

I wanted to know why it didn't fail to load the target script when i followed no. 2. Since at that time the path was also wrong.

(Sorry, I used wrong grammar in the previous comment)

from vis-ins-completion.

jpaulogg avatar jpaulogg commented on July 26, 2024

I didn't noticed that you were asking a question... my english is not very good.

It worked because I had already fixed the problem . When you opened this issue I checked init.lua and saw the problem, but I thought there was also a problem with vis-plug. After reading the error message more closely I finally understood what was happening.

from vis-ins-completion.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.