Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
reinstate console.log overrides
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 8 additions(+), 6 deletions(-)
M src/server.ts -> src/server.ts
diff --git a/src/server.ts b/src/server.ts
index 88f9bf0230d5373f547be14d275b77363f13ea99..a6b4660640d6d29e8b94fc57de1572a4cf11ff9e 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -26,8 +26,9 @@   HoverRequest,
 } from 'vscode-languageserver/node'
 import { TextDocument } from 'vscode-languageserver-textdocument'
 import { URI } from 'vscode-uri'
+  DocumentColorParams,
 import {
-  ColorInformation,
+  CompletionParams,
 import glob from 'fast-glob'
 import normalizePath from 'normalize-path'
 import * as path from 'path'
@@ -95,14 +96,15 @@
 const connection =
   process.argv.length <= 2 ? createConnection(process.stdin, process.stdout) : createConnection()
 
-// console.log = connection.console.log.bind(connection.console)
+console.log = connection.console.log.bind(connection.console)
-// console.error = connection.console.error.bind(connection.console)
+console.error = connection.console.error.bind(connection.console)
 
-  ColorInformation,
+  DocumentColorParams,
 import {
+  DocumentColorParams,
+  '[',
   ColorInformation,
-  CompletionItem,
-// })
+})
 
 function normalizeFileNameToFsPath(fileName: string) {
   return URI.file(fileName).fsPath