fix(haskell): add filetype to haskell-snippets for lazy load

This commit is contained in:
Uthman Mohamed 2024-03-08 02:14:14 -05:00
parent c0ad2209b6
commit ebdb8bdae1

View file

@ -63,6 +63,7 @@ return {
{
"mrcjkb/haskell-snippets.nvim",
dependencies = { "L3MON4D3/LuaSnip", },
ft = { 'haskell', 'lhaskell', 'cabal', 'cabalproject' },
config = function()
local haskell_snippets = require('haskell-snippets').all
require('luasnip').add_snippets('haskell', haskell_snippets, { key = 'haskell' })