fix(jj): replace jj with jjdescription filetype

This commit is contained in:
Fabrice Mouhartem 2025-04-01 18:57:52 +02:00
parent 2a35077571
commit 2cc2998907
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ return {
'norg', 'norg',
'gitcommit', 'gitcommit',
'jj', 'jj',
'jjdescription',
'rst', 'rst',
'typst' 'typst'
}, },

View File

@ -8,7 +8,7 @@ luasnip.config.setup {
updateevents = "TextChanged,TextChangedI", updateevents = "TextChanged,TextChangedI",
enable_autosnippets = true, enable_autosnippets = true,
} }
luasnip.filetype_extend("jj", { "gitcommit" }) luasnip.filetype_extend("jjdescription", { "gitcommit" })
local has_words_before = function() local has_words_before = function()
unpack = unpack or table.unpack unpack = unpack or table.unpack