This plugin adds HSL (Halon Scripting Language) support to Vim and Neovim.
- Syntax highlighting
- Indentation
- Completion
- Covers the entire standard library
- Trigger with
Ctrl-X Ctrl-O(omni completion)
To install the plugin use the following command.
git clone https://github.com/halon/vim-hsl.git ~/.vim/pack/vendor/start/vim-hslTo enable it add the following to your ~/.vimrc file.
syntax on
filetype plugin indent onIf you use a plugin manager, add the repository to it instead of cloning it manually. With vim-plug, add the following between call plug#begin() and call plug#end() in your ~/.vimrc file. vim-plug enables syntax highlighting and filetype plugins itself, so the lines above are not needed.
Plug 'halon/vim-hsl'In order to upgrade the plugin, use the following command.
git -C ~/.vim/pack/vendor/start/vim-hsl pullIf you installed it with a plugin manager, use its update command instead (e.g. :PlugUpdate).
To install the plugin use the following command.
git clone https://github.com/halon/vim-hsl.git ~/.local/share/nvim/site/pack/vendor/start/vim-hslNeovim enables syntax highlighting and filetype plugins by default, so no extra configuration is needed.
If you use a plugin manager, add the repository to it instead of cloning it manually. With lazy.nvim, add the following plugin spec.
{ "halon/vim-hsl", ft = "hsl" }Neovim 0.12 and later also include an (experimental) built-in plugin manager. To use it add the following to your init.lua file.
vim.pack.add({ "https://github.com/halon/vim-hsl" })In order to upgrade the plugin, use the following command.
git -C ~/.local/share/nvim/site/pack/vendor/start/vim-hsl pullIf you installed it with a plugin manager, use its update command instead (e.g. :Lazy update or :lua vim.pack.update()).

