# Humalis for Sublime Text Syntax highlighting for [Humalis](https://humalis.dev), a programming language whose keywords are French words: websites, apps, servers, games, command-line programs, microcontroller firmware and robots, from one language. - highlighting of the language's words, with or without accents, strings, `{variables}`, numbers and comments, and of embedded `code` and `style` (CSS) blocks, in Sublime Text's native syntax format, with syntax tests; - comments with `#` (Toggle Comment), and indentation after a line ending with `:`; - four spaces per indentation level, as Humalis requires. ## Language server For live errors, hover, completion, go to definition, outline and formatting, install the `humalis` command (`npm install -g humalis`, Node 24 or later) and the [LSP](https://packagecontrol.io/packages/LSP) package, then add the Humalis server to your LSP server configurations (*Preferences › Package Settings › LSP › Server Configurations*): ```jsonc { "humalis": { "enabled": true, "command": ["humalis", "editeur", "--stdio"], "selector": "source.humalis" } } ``` If Sublime Text does not find `humalis` in your `PATH`, write its full path in `command` (`which humalis` prints it). ## Example ```humalis page "accueil" : titre "Bienvenue" variable visites = 0 bouton "Ajouter" quand l'utilisateur clique sur "Ajouter" : changer visites par visites + 1 texte "{visites} visites" ``` --- **Français.** La coloration de [Humalis](https://humalis.dev) dans Sublime Text : les mots du langage, avec ou sans accents, les textes, les `{variables}`, les nombres et les commentaires ; les commentaires avec `#` et l'indentation après une ligne qui finit par `:`. Pour les erreurs en direct, le survol et la complétion, installez la commande `humalis` et le module LSP, puis déclarez le serveur dans les configurations de serveurs de LSP comme ci-dessus. The language and this package are distributed under the Humalis License (see `LICENSE`, and `LICENSE.en.md` for an English translation). Le langage et ce paquet sont distribués sous la Licence Humalis.