2024-01-22 11:25:52 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkVimPlugin {
|
2024-12-15 20:18:07 +01:00
|
|
|
name = "friendly-snippets";
|
2025-06-18 02:42:47 +03:00
|
|
|
description = "Set of preconfigured snippets for different languages.";
|
2024-01-22 11:25:52 +01:00
|
|
|
|
2024-12-15 20:18:07 +01:00
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
2024-01-22 11:25:52 +01:00
|
|
|
|
2024-12-15 20:18:07 +01:00
|
|
|
extraConfig = {
|
2024-01-22 11:25:52 +01:00
|
|
|
# Simply add an element to the `fromVscode` list to trigger the import of friendly-snippets
|
2024-05-05 19:39:35 +02:00
|
|
|
plugins.luasnip.fromVscode = [ { } ];
|
2024-01-22 11:25:52 +01:00
|
|
|
};
|
|
|
|
}
|