LiadOz / nvim-dap-repl-highlights

Add syntax highlighting to the nvim-dap REPL
121 stars 6 forks source link

fix: use upstream tree-sitter injection directives #11

Closed llllvvuu closed 1 year ago

llllvvuu commented 1 year ago

Looks like nightly Neovim no longer tolerates unofficial ways of injecting.

See: https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection

@injection.include-children is key, otherwise none of the content will be highlighted as it is in user_input_content.

LiadOz commented 1 year ago

Looks good, thanks for the contribution