Code Monkey home page Code Monkey logo

Comments (4)

ojroques avatar ojroques commented on May 23, 2024 1

Hello,

I won't add Vimscript in the README as I'm assuming that users of Neovim and this plugin are familiar with Lua.

But you might be interested in https://github.com/ojroques/vim-oscyank, which does the exact same job as nvim-osc52 but for Vim. You'll find Vimscript instructions there as well.

from nvim-osc52.

AkechiShiro avatar AkechiShiro commented on May 23, 2024

Yep found out it was indeed lua configuration.

I've imported the configuration successfully but the require seems to fail :

Error detected while processing /home/licht/.config/nvim/init.vim:                                                                           
line  131:                                                                                                                                   
E5108: Error executing lua [string ":lua"]:1: module 'osc52' not found:                                                                      
        no field package.preload['osc52']                                                                                                    
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/share/lua/5.1/osc52.lua'                              
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/share/lua/5.1/osc52/init.lua'                         
        no file '/nix/store/k85k151qrrl98gfbj5z00h36a5kj4fwy-luajit-2.1.1693350652-env/lib/lua/5.1/osc52.so'                                 
stack traceback:                                                                                                                             
        [C]: in function 'require'                                                                                                           
        [string ":lua"]:1: in main chunk  

Not sure why it is looking up the lua script at this exact path, since the plugin is managed by Plug and inside $HOME/.local/share/nvim

from nvim-osc52.

AkechiShiro avatar AkechiShiro commented on May 23, 2024

I suggest adding to the readme the following doc : https://neovim.io/doc/user/lua-guide.html

As well as clearly stating it is lua configuration and not vimscript as this is ambiguous right now and seems to be left as an exercise for the reader.

from nvim-osc52.

AkechiShiro avatar AkechiShiro commented on May 23, 2024

Will reopen until I can fix it or it gets fixed.

from nvim-osc52.

Related Issues (20)

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.