Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sql-lint #2221

Closed
wants to merge 2 commits into from
Closed

Add support for sql-lint #2221

wants to merge 2 commits into from

Conversation

joereynolds
Copy link
Contributor

This adds support for the MySQL linter, sql-lint.

Thanks!

Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests for the new linter and handler. See :help ale-dev.

I think we should use some detection of the filetype for specifically MySQL, if this linter is only for mysql code. We could require the filetype to include mysql, like set filetype=sql.mysql, or we could check if getbufvar(a:buffer, 'current_syntax') is# 'mysql'`, or similar. Have a look through the Plugin files for SQL code that are bundled with Vim itself.

@joereynolds
Copy link
Contributor Author

Follow up is here

#2988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants