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
Great plugin you got going. I like it that it's easy to configure and/or extend since it's written in lua.
One thing I'm missing is being able to use a temporary file when stdin = false (namely, with mypy). This way I don't need to save my file to get lint the current buffer.
I think I can implement this if maintainers are open to dealing with opening pandora's box this rather complicated feature. My belief is that, while it may lead to lots of corner cases, these can and will be covered through usage within few months (ie: this is a feature that'll take some time to stabilize)
I think this wouldn't be too hard and I could imagine that something like this would then also make it possible to run linters on portions of a file identified by tree-sitter injections/language-trees (e.g. you could lint a python block in a markdown document with the python linters)
I'm overall open to this, but seeing some upvotes to gauge interest would help
If anyone is looking to do this, conform is a similar plugin which managed to implement this feature. Their README says
-- Send file contents to stdin, read new contents from stdout (default true)
-- When false, will create a temp file (will appear in "$FILENAME" args). The temp
-- file is assumed to be modified in-place by the format command.```
Hi, there
Great plugin you got going. I like it that it's easy to configure and/or extend since it's written in lua.
One thing I'm missing is being able to use a temporary file when
stdin = false
(namely, withmypy
). This way I don't need to save my file to get lint the current buffer.I think I can implement this if maintainers are open to dealing with
opening pandora's boxthis rather complicated feature. My belief is that, while it may lead to lots of corner cases, these can and will be covered through usage within few months (ie: this is a feature that'll take some time to stabilize)see neomake/neomake@4bb03bf
The text was updated successfully, but these errors were encountered: