Code Monkey home page Code Monkey logo

Comments (4)

darkwater avatar darkwater commented on July 20, 2024

Couldn't the extra runtimepaths be added through a command line option? --cmd <command> is executed before processing any vimrc, so this looks like a good way to set rtp.

from oni.

darkwater avatar darkwater commented on July 20, 2024

Applying http://novaember.com/s/8f9453/ig79Ko.txt will append ONI's runtimepaths to the standard, but I haven't tested for any side-effects. (And of course the code is ugly because I just changed some things to make it work.)

I also noticed a rather long startup time, not sure what that's caused by.

from oni.

bryphe avatar bryphe commented on July 20, 2024

Thanks for the code snippet! I ported it over to a PR - #18. That's a great suggestion, I didn't know about the --cmd option, would be more robust than dynamically generating the init.vim.

I'm seeing a problem too though with the PR - it looks like Neovim is hitting an error that isn't getting rendered, so you need a keypress to activate the UI. (This might explain the long startup time in your case, too). Unfortunately, I'm not sure what that error is, so need to dig in a little more and see what's happening before bringing that PR in. Sometimes, if there's a script error on load, it doesn't make it to the UI - seems related to this issue in Neovim core: neovim/neovim#3901

from oni.

bryphe avatar bryphe commented on July 20, 2024

I believe this should be fixed by PR #18 - try out the oni.useDefaultConfig option and let me know.

Thanks!

from oni.

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.