dvdsk / prosesitter.nvim

A (work in progress) grammar, spelling and style plugin for Neovim
MIT License
25 stars 0 forks source link

Does not lint when completing a block comment #13

Closed dvdsk closed 3 years ago

dvdsk commented 3 years ago

Example:

/* sm spll errs */

fn main() {
    println!("sm spll errrs")
}

This leads to the following highlighting if one types the part within the block comment: image

However after saving and loading the file the errors are highlighted correctly. Editing the block comment also works fine.

dvdsk commented 3 years ago

issue also occurs when adding text in other surrounded areas for example strings

dvdsk commented 3 years ago

extra parse call was removed as I thought it was no longer needed given the switch to treesitter callbacks