Setting up Helix

This guide will help you to setting up Helix with Slint and vivi. Goal is to make vivi available for autocompletion and the live preview feature of Slint.

  1. Install Helix. Download it here.
  2. Download or clone the vivi repository on your development machine. You can find it here.
  3. Edit or create languages.toml file in the Helix configuration directory
    • Linux and Mac: ~/.config/helix/languages.toml
    • Windows: %AppData%\helix\languages.toml
  4. Add the following lines to languages.toml:
[language-server.slint-lsp]
command = "slint-lsp"
args = ["-Lvivi=../path/to/vivi/vivi/ui/"]