Back to Spacevim

SpaceVim lang#haxe layer

docs/layers/lang/haxe.md

2.4.01.6 KB
Original Source

Available Layers >> lang#haxe

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Description

lang#haxe layer provides syntax highlighting, code runner and repl support for haxe language.

Install

This layer is not enabled by default. To use this configuration layer, update your custom configuration file with:

toml
[[layers]]
  name = "lang#haxe"

Features

  • syntax highlighting
  • code runner
  • repl

Layer options

  • haxe_interpreter: Set the path of haxe command.
  • haxe_repl: set the command of haxe repl.

Key bindings

Run current file

To run a haxe file, you can press SPC l r to run the current file without losing focus, and the result will be shown in a runner buffer.

Inferior REPL process

Start a haxe-repl inferior REPL process with SPC l s i.

Send code to inferior process commands:

Key BindingsDescriptions
SPC l s bsend buffer and keep code buffer focused
SPC l s lsend line and keep code buffer focused
SPC l s ssend selection text and keep code buffer focused