sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.97k stars 188 forks source link

Pyi files #458

Open koalp opened 1 year ago

koalp commented 1 year ago

Hello,

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 :

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