Git Product home page Git Product logo

nero.nvim's Introduction

Nero (aka the Neovim REPL)

Maintainability

Test Coverage

Known Vulnerabilities

Nero is a very simple Neovim REPL.

It connects to neovim using RPC infrastructure and allows you to read-eval-print-loop over the current lua state.

How to get that working:

  • :call serverstart("127.0.0.1:12345") on neovim;

    • (until propert argument handling is implemented)
  • sbt run or sbt assembly && java -jar target/scala-2.12/nero.jar

What can you do

It starts as a lua REPL. That is exactly the same as a lua REPL, except that running from neovim's lua state.

If you want to, you can tinker around with VimL. Just type :set viml on nero and it'll change the mode to viml:

[Lua ] > :set viml
[VimL] :

To get back to lua, just type :set lua:

[VimL] : :set lua
[Lua ] >

Also, :q quits.

Other commands are intended to be implemented in the future.

TODO

  • Build scripts to generate a single executable and/or shortcut;
  • Better lua support
    • Return values for expressions
  • Better viml support
  • Better REPL handling:
    • Autocompletion;
    • History (arrows);
    • Clear REPL;
    • Docs;
  • Compile with graal-vm.

nero.nvim's People

Contributors

hkupty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nero.nvim's Issues

Implement History

Depends on #3
So arrow up would move back in the history.

Should synchronize with neovim and never have anything locally

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.