Closed delfick closed 2 years ago
Are you setting up formatter with saving?
yes correct. I like my editor to run the formatter on save.
On Sun, 16 Jan 2022, 12:52 am mattn, @.***> wrote:
Are you setting up formatter with saving?
— Reply to this email directly, view it on GitHub https://github.com/mattn/efm-langserver/issues/202#issuecomment-1013685972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2V5MZZVGTMRW77OPQGX3UWF3YLANCNFSM5MAVZHSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Hello,
Is it possible to make it so that a formatter doesn't run under certain paths?
For example, if I'm editing a file in a python virtualenv site-packages folder I'd rather it didn't call black on that file.
I can use root-markers to look for a file in my project so that I can prevent this for say a python installation, but this doesn't work for any virtualenvs in my project.