Home

Awesome

NeoVim config written in Haxe

This is a NeoVim configuration written almost entirely in Haxe using haxe-nvim

Rationale

Have you ever desired that your favorite most hackable editor (NeoVim, obviously) was also type safe? You think that Lua is a great improvememnt over VimScript but you keep making stupid mistakes that a type checker would caught? Then you may be interested in this project.

This project is part of the "ecosystem" of haxe-nvim, which arised from the frustration of constantly making stupid type mistakes in Lua. This repo is an example of a personal configuration written using the haxe-nvim toolchain. If you want an example of how to write NeoVim plugins using Haxe, then take a look at the template plugin

How it looks?

FZF integrations

fzf_files fzf_help

Snippets and copilot

copilot_cmp_snippets

Which key

which-key

How to use

If you just want to use this configuration for your NeoVim and are not interested in developing it or anything else, then just clone this repository and then symlink the /output directory to your ~/.config/nvim folder:

git clone git@github.com:danielo515/kickstart.hx.git
ln -s ./kickstart.hx/output/ ~/.config/nvim/

If you want to also develop it to use it as base of your personal and type safe NeoVim configuration , or you want to contribute, then the previous step applies but you will also need to:

  1. (optional) fork this repository
  2. clone your repository rather than this one
  3. install Haxe 4.2.5
  4. cd into your local folder of your forked repositroy
  5. run haxelib install libs.hxml
  6. open the repository with your favorite editor and start using it

Inspiration

This started as a port of kickstart.lua to Haxe using haxe-nvim but it has evolved and will continue evolving independenlty since then.