This plugin provides official language support for the RsHtml templating engine in Neovim.
- Neovim (v11.3+)
Language Server Management: This extension requires the rshtml-analyzer language server to provide language features. The extension handles this for you automatically:
If you have rshtml-analyzer already installed and available in your system's PATH, the extension will use your existing version. This is ideal for users who prefer to manage their own toolchains.
The server can be downloaded from the releases page or use the command below:
cargo install --git https://github.com/rshtml/rshtml-analyzer.git --tag v0.1.7Note: The tag can be updated according to the version.
If the server is not found in your PATH, the extension will seamlessly download and manage the latest compatible version for your operating system in the background. This provides a zero-configuration experience.
Lazy:
{
"rshtml/neovim",
name = "rshtml",
dependencies = {
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
}Enjoy working with RsHtml!