Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.47 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.47 KB

nvim-dash

Simple tweaks for your neovim configuration that make the experience of working on Dash apps a little more enjoyable.

Features

  • JavaScript Syntax Highlighting in clientside_callbacks. 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.

Before nvim-dash

nvim-dash-before (This is also without TreeSitter running, so not exactly apples-to-apples, but the bias goes my way).

After nvim-dash

nvim-dash-after

Dependencies

nvim-dash requires nvim-treesitter with python support. You can install it with :TSInstall python.

Installation

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