update README

This commit is contained in:
windwp 2021-06-17 12:50:35 +07:00
parent 1197ec9d91
commit b88545a3b5

View File

@ -34,9 +34,11 @@ require('nvim-ts-autotag').setup()
```
# Enable update on insert
### Enable update on insert
If you have that issue
[#19](https://github.com/windwp/nvim-ts-autotag/issues/19)
if you have that issue on you need to tell lsp diagnostic update in insert
```lua
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics,