aviiceena / bootstrap-intellisense

MIT License
9 stars 4 forks source link

Properly detect Bootstrap in Django Template #26

Open tobru opened 1 week ago

tobru commented 1 week ago

I'm using Django Templates. Boostrap is included like this:

  <link href="{% static 'css/bootstrap-5.3.min.css' %}" rel="stylesheet">

The extension fails with:

Error finding Bootstrap file in local files: Error: command failed with error code 2: error parsing glob '/{% static 'css/bootstrap-5.3.min.css': unclosed alternate group; missing '}' (maybe escape '{' with '[{]'?)
aviiceena commented 1 week ago

thanks for reporting this. it should work now in version 1.6.0