Inspired by @WardBrian’s recent similar post for Emacs, I wanted to highlight that writing Stan code in Neovim is better than it has ever been!
The screenshot below shows off some of the features;
This is made possibly now primarily through:
- A new
stan.nvimNeovim plugin, which configures filetype detection for.stanfiles, configures tree-sitter-stan with nvim-treesitter, and implements syntax highlighting. - The Stan language server, which has now been added to the Mason neovim package manager and is installed via
:MasonInstall stan-language-server.
Big kudos to @jkouros and @WardBrian for all the foundational work on the language server and tree-sitter parser that make this possible!
I’m sure there are some bugs in the stan.nvim plugin, so if you find any please raise an issue.
