Create Lazyvim configs from Lunarvim configs

This commit is contained in:
2026-06-20 16:21:55 +05:30
parent fab64cc52e
commit a82f0372be
13 changed files with 628 additions and 0 deletions
@@ -0,0 +1,23 @@
-- @section luasnip-dart
-- LuaSnip: Extend dart filetype with flutter snippets (migrated from LunarVim)
-- When editing .dart files, this adds flutter snippet sources so that
-- Flutter-specific completions (like `stless`, `stful`) are available.
return {
{
"L3MON4D3/LuaSnip",
init = function()
vim.api.nvim_create_autocmd("User", {
pattern = "VeryLazy",
once = true,
callback = function()
local ok, luasnip = pcall(require, "luasnip")
if ok then
luasnip.filetype_extend("dart", { "flutter" })
end
end,
})
end,
desc = "Add Flutter snippets to Dart buffers",
},
}