Lewis Russell

Results 940 comments of Lewis Russell

> Do you have any plans to add spell checks for variable names, class names and other namings which are not keywords or names from language's standard library? > >...

Sorry, there is no plan. For my personal use, this plugin is feature complete.

I won't add support myself but PR's are welcome.

It'll just be a case of improving the current queries in https://github.com/lewis6991/spellsitter.nvim/blob/master/queries/rst/spell.scm. That file basically just says exactly where to apply spell checking.

You can use https://github.com/nvim-treesitter/playground to see what the parsed AST is for a file. That will show you `comment` and `string_content`. The guide on treesitter queries is also useful: https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries

I'm happy for us to implement something like `@nospell` (in the sense I would accept a PR) but we'd need to: 1. Define exactly what it means and how it...

This might be tricky, since you need to index all the symbols in regions which aren't spell checked on every buffer update, which will probably be costly. We can still...

It has the symbols but there is no API that returns true if a string is a defined symbol. Therefore we would need to implement that by indexing all the...

FYI, this is due to a regression in core which I'm planning to fix with https://github.com/neovim/neovim/pull/19041 Testing is welcomed 😄