How style discovery works
mainThe plugin provides CSS IntelliSense by discovering styles in two ways:
Automatic Detection (Buffer-Specific): The plugin parses the current file for
<link rel="stylesheet" href="...">tags (local or remote) and<style>...</style>blocks. These completions are only available in the file where they are found.Explicit Configuration (
style_sheets): For global styles, CSS frameworks (Tailwind, Bootstrap), or styles processed by a bundler that aren't explicitly linked in every file, you must add them to thestyle_sheetsarray in your configuration. These styles will be available for autocompletion across all filetypes listed inenable_on.