[fix] position off by one

This commit is contained in:
Andy Bunce 2025-08-22 22:29:23 +01:00
parent 1787a8e31f
commit dc1b888a3b
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ function connect() {
const doc = view.state.doc.toString();
const state = lsp.createEditorState(doc, [...lsp.baseExts, extLsp, extLint,
lsp.debouncedChangeListener({
delay: 5000,
delay: 750,
onChange: (content, state) => {
console.log('Debounced change detected:'+content);
client.sync();