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

Way to disable syntax error highlighting in insert mode? #117

Open
xiaochuanyu opened this issue Jan 12, 2022 · 2 comments
Open

Way to disable syntax error highlighting in insert mode? #117

xiaochuanyu opened this issue Jan 12, 2022 · 2 comments

Comments

@xiaochuanyu
Copy link

Currently, syntax errors are highlighted after some delay when you are stop typing in insert mode as seen here:
image
Is there a way to disable highlighting syntax errors while insert mode?
E.g. I expect the following to be shown as long as I'm in insert mode:
image

@smprather
Copy link

Yes. I am here looking for the same. Even though I have error marker delay set to the default of 1.5s, it is not honored while typing in insert mode. So the error column is quickly bouncing between on/off while I type making everything jerk left and right as I type. I also wouldn't mind an option to always have the error-marker-column visible. Whatever it takes to stop the bouncing while I'm typing. Thanks!

@smprather
Copy link

I was was going to try to use autocmd to turn the error marker on/off when entering/leaving insert mode, but the variable does not appear to be "live" after loading init.vim. So a possible solution to this issue is to make g:semshi#error_sign responsive to changes after init.vim is loaded.

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

No branches or pull requests

2 participants