Add picker resume key and replace i18n plugin

This commit is contained in:
Fábio André Damas 2025-09-11 22:09:14 +01:00
parent e03c864b4a
commit 50031cba0e
5 changed files with 38 additions and 5 deletions

16
lua/plugins/i18n.nvim.lua Normal file
View file

@ -0,0 +1,16 @@
return {
'yelog/i18n.nvim',
dependencies = {
'nvim-treesitter/nvim-treesitter'
},
config = function()
require('i18n').setup({
locales = { 'en' },
sources = {
'src/locales/{locales}.json',
-- { pattern = "src/locales/lang/{locales}/{module}.ts", prefix = "{module}." },
-- { pattern = "src/views/{bu}/locales/lang/{locales}/{module}.ts", prefix = "{bu}.{module}." },
}
})
end
}