-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Autocommand not working with ChkTeX #162
Comments
Where do you run You can either remove the |
I was facing the same issue but with vim.cmd([[ au BufWritePost <buffer> lua require('lint').try_lint() ]]) in my Following @mfussenegger's explanation, I replaced the previous line with vim.cmd([[ au BufWritePost * lua require('lint').try_lint() ]]) and now the linter is automatically called whenever I write at any buffer. |
Substituted for |
I'm trying to get the autocommand to work in my lua config with
and
but it's not working. When I run only
lua require('lint').try_lint
on a .tex buffer, it works, but the autocmd doesn't.I'm using Windows 11 with Neovim 6.0. I'm trying to build a lua only neovim config, so I'm not using .vimrc or any .vim file. Will try though, if anything else fails.
The text was updated successfully, but these errors were encountered: