Skip to content

Option to run lint on save and open file #1

@still-dreaming-1

Description

@still-dreaming-1

I thought it would be nice to lint php files every time they are saved or opened, so I added this to my config:

autocmd BufRead,bufwritepost *.php :Phplint

The problem is there is still output when there are no errors. It would be nice if there was an option to have no output when there are no errors. Better yet, would be an option to run lint on opening and saving php files, which would likewise only be desired if there was no output when there are no errors.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions