You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyi files are currently treated like .py file because they share the same nvim filetype (python), but they shouldn’t be formatted in the same way. (black does differentiate those two file formats).
I wonder what should be done :
modify neovim to add a python-stubs filetype ? That seem kinda breaking.
Hello,
pyi
files are currently treated like.py
file because they share the same nvimfiletype
(python
), but they shouldn’t be formatted in the same way. (black does differentiate those two file formats).I wonder what should be done :
.pyi
files ?A while ago i created a topic on neovim discourse but had no response : https://neovim.discourse.group/t/how-to-differentiate-pyi-and-py-files/3559
The text was updated successfully, but these errors were encountered: