Skip to content

Struggling to load snippets for one filetype in another #968

Answered by L3MON4D3
westernwontons asked this question in Q&A
Discussion options

You must be logged in to vote

Do you also have an ls.filetype_extend("svelte", {"typescript"}) somewhere?
load_ft_func only takes care of loading, which is (maybe a bit unexpectedly) unrelated to the actually active filetypes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@westernwontons
Comment options

Answer selected by westernwontons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants