mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(haskell): add filetype to haskell-snippets for lazy load
This commit is contained in:
parent
c0ad2209b6
commit
ebdb8bdae1
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ return {
|
||||||
{
|
{
|
||||||
"mrcjkb/haskell-snippets.nvim",
|
"mrcjkb/haskell-snippets.nvim",
|
||||||
dependencies = { "L3MON4D3/LuaSnip", },
|
dependencies = { "L3MON4D3/LuaSnip", },
|
||||||
|
ft = { 'haskell', 'lhaskell', 'cabal', 'cabalproject' },
|
||||||
config = function()
|
config = function()
|
||||||
local haskell_snippets = require('haskell-snippets').all
|
local haskell_snippets = require('haskell-snippets').all
|
||||||
require('luasnip').add_snippets('haskell', haskell_snippets, { key = 'haskell' })
|
require('luasnip').add_snippets('haskell', haskell_snippets, { key = 'haskell' })
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue