diff --git a/lsp/ltex_plus.lua b/lsp/ltex_plus.lua index 3854d24..cc80452 100644 --- a/lsp/ltex_plus.lua +++ b/lsp/ltex_plus.lua @@ -22,6 +22,7 @@ return { 'norg', 'gitcommit', 'jj', + 'jjdescription', 'rst', 'typst' }, diff --git a/lua/complete.lua b/lua/complete.lua index 9607b8f..0cb40fc 100644 --- a/lua/complete.lua +++ b/lua/complete.lua @@ -8,7 +8,7 @@ luasnip.config.setup { updateevents = "TextChanged,TextChangedI", enable_autosnippets = true, } -luasnip.filetype_extend("jj", { "gitcommit" }) +luasnip.filetype_extend("jjdescription", { "gitcommit" }) local has_words_before = function() unpack = unpack or table.unpack