diff --git a/src/lsp/util/find.ts b/src/lsp/util/find.ts index 5eaef42ef1b5c41b8eeef529d00fb4109cd481bd..265fdc2e409eefd5e5ccd2bba109a5b282fc6843 100644 --- a/src/lsp/util/find.ts +++ b/src/lsp/util/find.ts @@ -177,7 +177,7 @@ afterOffset ) return { - classList: value.substr(beforeOffset, value.length + afterOffset), + classList: value, range: { start: { line: range.start.line + start.line,