Add picker resume key and replace i18n plugin
This commit is contained in:
parent
e03c864b4a
commit
50031cba0e
5 changed files with 38 additions and 5 deletions
16
lua/plugins/i18n.nvim.lua
Normal file
16
lua/plugins/i18n.nvim.lua
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue