You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to set up neovim for htmldjango files, I was unable to get my html-lsp working inside htmldjango files. Not really a issue with this repo of course.
The only solution I came across was extending htmldjango files with html snippets. However, upon doing so, I get double html snippets.
I've tried uninstalling lsps to narrow down the issue and it seems to only happen after I extend these snippets like so:
local luasnip = require("luasnip")
-- loads vscode style snippets from installed plugins (e.g. friendly-snippets)
require("luasnip.loaders.from_vscode").lazy_load()
-- Include snippets not in global snippets for friendly-snippets
luasnip.filetype_extend("htmldjango", { "html", "loremipsum", "djangohtml" })
luasnip.filetype_extend("html", { "loremipsum" })
lluasnip.filetype_extend("python", { "django" })
Here is how it looks like:
Is anyone else getting the same or is it just me?
The text was updated successfully, but these errors were encountered:
FWIW, I was unable to replicate this issue locally, but I have in the past had duplicate snippets. I'll leave this open for a few more days in the event I figure something out in my spare time OR if someone else encounters the issue too 🤔
While trying to set up neovim for htmldjango files, I was unable to get my html-lsp working inside htmldjango files. Not really a issue with this repo of course.
The only solution I came across was extending htmldjango files with html snippets. However, upon doing so, I get double html snippets.
I've tried uninstalling lsps to narrow down the issue and it seems to only happen after I extend these snippets like so:
Here is how it looks like:
Is anyone else getting the same or is it just me?
The text was updated successfully, but these errors were encountered: