Simple tweaks for your neovim configuration that make the experience of working on Dash apps a little more enjoyable.
- JavaScript Syntax Highlighting in
clientside_callback
s. See the blog post. - JavaScript Syntax Highlighting in dicts where they key is
function
. This is very useful when dealing with inline value formatters/renderers using ag-grid.
(This is also without TreeSitter running, so not exactly apples-to-apples, but the bias goes my way).
nvim-dash
requires nvim-treesitter
with python
support.
You can install it with :TSInstall python
.
nvim-dash
only supports lazy.nvim
and doing it yourself. It will probably work with other package managers,
but I haven't tried it.
If you do use another package manager successfully, please let me know, I'll add it to the list.
lazy.nvim
{
'ctdunc/dash-nvim',
}
diy
copy queries/python/injections.scm
to $NVIM_CONFIG_LOCATION/queries/python/injections.scm