Jezda1337 / nvim-html-css

CSS Intellisense for HTML
121 stars 14 forks source link

Disable scanning remote urls by default. #11

Closed rawalplawit closed 2 months ago

rawalplawit commented 1 year ago

When there are lots of pages, I get #5 and nvim crashes or blocks the editor several seconds at best.

I'd suggest adding an option in the config to disable scanning for remote urls by default.

Also, currently, the plugin fetches all the links found in *.html. including fonts, images, etc. The isRemote could be changed to

local isRemote = "^https?://*.css"

or including js too

local isRemote = "^https?://*.(css|js)"