Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.34 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.34 KB

oz.nvim

GitHub Workflow Status Lua

A neovim plugin for the oz programming language

It's not a complete implementation but it can do the job for now

Configuration

Default configuration options

opts = {
  ozengine_path = "ozengine",
  show_compiler_output = true,
  linter = false,
  keymaps = {
    feed_selection_mapping = "<C-r>",
  },
}

Commands

Some available commands:

  • OzEnginePath to get the current ozengine path
  • OzFeedFile to feed the current oz buffer to the engine
  • OzEngineRestart to restart the engine
  • OzOpenLog to see the logs

Dependencies

The plugin depends on the socat command to send code to the ozengine. It's available on all major distros see here

On macOS, socat can be installed with brew:

brew install socat

The plugin is only tested on linux for the moment.

TODOs

  • simple connection to the ozengine
  • code feeding
  • compiler output into a different buffer
  • linting
  • more platform support (windows ?)

Contributing

Feel free to send a pr.


Licence: MIT