Home

tailwind-ctp-intellisense @5516e3321cc00b604f0d3e2defd4c9d8f51577c3 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / src / util / uri.ts
- raw
1
2
3
4
5
6
7
8
9
import { URI } from 'vscode-uri'

export function normalizeFileNameToFsPath(fileName: string) {
  return URI.file(fileName).fsPath
}

export function getFileFsPath(documentUri: string): string {
  return URI.parse(documentUri).fsPath
}