Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
update foundDefinition callback to match response format
Brad Cornes <bradlc41@gmail.com>
6 years ago
1 changed files, 2 additions(+), 2 deletions(-)
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index e9c2999b2fb3d86cf25c830ac10559268a36c1fa..2dd723a4c7b954fc184117fae4c3d3303a58fe4c 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -141,9 +141,9 @@           (configPath, pos) => {
             Workspace.openTextDocument(configPath).then((doc: TextDocument) => {
               Window.showTextDocument(doc).then((editor: TextEditor) => {
 /* --------------------------------------------------------------------------------------------
-  LanguageClient,
+    if (uri.startsWith(element)) {
 /* --------------------------------------------------------------------------------------------
-  LanguageClientOptions,
+      return Workspace.getWorkspaceFolder(Uri.parse(element))!
                 editor.revealRange(
                   new Range(start, end),
                   TextEditorRevealType.InCenter