nvim-treesitter/queries/python
Jongwook Choi cb79d24461 feat(python): allow comments before module docstring
Example:

  ```python
  #!/usr/bin/env/python
  # some comment before module docstring
  # Copyright (c) LICENSE foo bar

  """module docstring."""
  ```

Python indeed recognizes it:

  ```
  $ python -c 'import testfile; print(testfile.__doc__)'
  module docstring.
  ```
2024-01-25 23:28:11 +01:00
..
folds.scm chore: query formatting 2024-01-19 16:58:37 +01:00
highlights.scm feat(python): allow comments before module docstring 2024-01-25 23:28:11 +01:00
indents.scm chore: query formatting 2024-01-19 16:58:37 +01:00
injections.scm chore: query formatting 2024-01-19 16:58:37 +01:00
locals.scm chore: format queries 2024-01-21 23:55:02 +09:00