mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2025-01-01 13:59:13 -06:00
update README
This commit is contained in:
parent
0d7f288dae
commit
1197ec9d91
16
README.md
16
README.md
@ -34,6 +34,22 @@ require('nvim-ts-autotag').setup()
|
||||
|
||||
```
|
||||
|
||||
# Enable update on insert
|
||||
|
||||
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,
|
||||
{
|
||||
underline = true,
|
||||
virtual_text = {
|
||||
spacing = 5,
|
||||
severity_limit = 'Warning',
|
||||
},
|
||||
update_in_insert = true,
|
||||
}
|
||||
)
|
||||
```
|
||||
## Default values
|
||||
|
||||
``` lua
|
||||
|
Loading…
Reference in New Issue
Block a user