diff options
| author | Rafik Draoui <rafik@rafik.ca> | 2021-12-26 20:54:39 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-04 23:15:30 +0100 |
| commit | 9b262596e05eb1a129a717022b309cd1ad531345 (patch) | |
| tree | 297bcf777e35a5b62772d08d98d0daf8d5054540 /lua | |
| parent | Update README (diff) | |
| download | nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar.gz nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar.bz2 nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar.lz nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar.xz nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.tar.zst nvim-treesitter-9b262596e05eb1a129a717022b309cd1ad531345.zip | |
Remove Python docstring injections
These injections lead to inconsistent highlighting since some edge cases
aren't handled (as mentioned in the PR description that introduced the
injections [0]). Besides, not all Python projects use reStructuredText
syntax in docstrings.
If someone still wants to use them, they can extend the base injection
queries through `after/queries/` [1] or enable them with
`vim.treesitter.set_query`.
See also: https://github.com/nvim-treesitter/nvim-treesitter/pull/1204
[0]: https://github.com/nvim-treesitter/nvim-treesitter/pull/917
[1]: https://github.com/nvim-treesitter/nvim-treesitter/tree/ad69e2528ac382b7cbf28f1ac7ee450981734ab0#adding-queries
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions
