-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
sqlfluff TextChanged not working #469
Comments
I was literally trying to do the exact same thing you did. Even trying to enable the Bumping this issue. |
Hi @gustavooferreira and @mfussenegger. This seems to be a general problem beyond sqlfluff. I tried a similar exercise to the one in my OP but using markdownlint this time. In the terminal
then nothing happens. On the other hand if I remove the stdin lines then markdownlint does work but, as in the GIF, there is obviously no TextChanged triggered diagnostics (only when I save they get triggered). |
I'm also having this issue with eslint_d, anyone found a solution? |
For sqlfluff, the stdin is disabled intentionally via #294 |
Consider the following init.lua file:
Now, as in the GIF, do
foo.sql
file withSELECT 1
,
to the line and exit insert modeAfter 3. I would expect nvim lint to show diagnostics (since stdin is enabled and something like
echo "SELECT 1," | sqlfluff lint --format=json --dialect=postgres -
in the terminal works just fine).The text was updated successfully, but these errors were encountered: