Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix class list offsets (fixes hover ranges)
Brad Cornes <bradlc41@gmail.com>
4 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M src/lsp/util/find.ts -> src/lsp/util/find.ts
diff --git a/src/lsp/util/find.ts b/src/lsp/util/find.ts
index 265fdc2e409eefd5e5ccd2bba109a5b282fc6843..5eaef42ef1b5c41b8eeef529d00fb4109cd481bd 100644
--- a/src/lsp/util/find.ts
+++ b/src/lsp/util/find.ts
@@ -177,7 +177,7 @@               afterOffset
           )
 
           return {
-            classList: value,
+            classList: value.substr(beforeOffset, value.length + afterOffset),
             range: {
               start: {
                 line: range.start.line + start.line,