Home

tailwind-ctp-intellisense @b6d257c8434ac9cd2f48caf47124b342e2957c83 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-service / src / util / rangesEqual.ts
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import type { Range } from 'vscode-languageserver'

export function rangesEqual(a: Range, b: Range): boolean {
  return (
    a.start.line === b.start.line &&
    a.start.character === b.start.character &&
    a.end.line === b.end.line &&
    a.end.character === b.end.character
  )
}