Skip to content

Commit f675e07

Browse files
committed
Enable HTML snippets in .heex files
Also enable Elixir and HTML snippets in .eex files
1 parent 4f4370c commit f675e07

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lua/plugins/blink.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ return { -- Autocompletion
2323
{
2424
'rafamadriz/friendly-snippets',
2525
config = function()
26+
local luasnipReq = require 'luasnip'
27+
2628
require('luasnip.loaders.from_vscode').lazy_load()
29+
luasnipReq.filetype_extend('heex', { 'html' })
30+
luasnipReq.filetype_extend('eelixir', { 'elixir', 'html' })
2731
end,
2832
},
2933
},

0 commit comments

Comments
 (0)