diff options
| author | Jongwook Choi <wookayin@gmail.com> | 2024-01-25 16:14:41 -0500 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-25 23:28:11 +0100 |
| commit | cb79d2446196d25607eb1d982c96939abdf67b8e (patch) | |
| tree | aa22e5e987376461cd7dfd35525ca1211d81fd83 /queries/gnuplot | |
| parent | Fix find_usages (diff) | |
| download | nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar.gz nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar.bz2 nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar.lz nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar.xz nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.tar.zst nvim-treesitter-cb79d2446196d25607eb1d982c96939abdf67b8e.zip | |
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.
```
Diffstat (limited to 'queries/gnuplot')
0 files changed, 0 insertions, 0 deletions
