mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 23:17:48 +00:00
Compare commits
No commits in common. "520a06586b91719106e0077ff44a504770479dbb" and "a5a5aba34aab206a8d562abff5a142f733dcb5c1" have entirely different histories.
520a06586b
...
a5a5aba34a
3 changed files with 7 additions and 15 deletions
|
|
@ -51,5 +51,4 @@
|
|||
|
||||
- Remove `vim.notes.obsidian.setupOpts.dir`, which was set by default. Fixes
|
||||
issue with setting the workspace directory.
|
||||
- Add `vim.snippets.luasnip.setupOpts`, which was previously missing.
|
||||
- Add `"prettierd"` as a formatter option in `vim.languages.markdown.format.type`.
|
||||
|
|
|
|||
|
|
@ -9,15 +9,12 @@
|
|||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
lazy.plugins.luasnip = {
|
||||
package = "luasnip";
|
||||
|
||||
lazy = true;
|
||||
|
||||
setupModule = "luasnip";
|
||||
inherit (cfg) setupOpts;
|
||||
|
||||
after = cfg.loaders;
|
||||
lazy.plugins = {
|
||||
luasnip = {
|
||||
package = "luasnip";
|
||||
lazy = true;
|
||||
after = cfg.loaders;
|
||||
};
|
||||
};
|
||||
startPlugins = cfg.providers;
|
||||
autocomplete.nvim-cmp = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkEnableOption mkOption literalExpression literalMD;
|
||||
inherit (lib.types) listOf lines;
|
||||
inherit (lib.nvim.types) pluginType mkPluginSetupOption;
|
||||
inherit (lib.nvim.types) pluginType;
|
||||
in {
|
||||
options.vim.snippets.luasnip = {
|
||||
enable = mkEnableOption "luasnip";
|
||||
|
|
@ -32,9 +32,5 @@ in {
|
|||
```
|
||||
'';
|
||||
};
|
||||
|
||||
setupOpts = mkPluginSetupOption "LuaSnip" {
|
||||
enable_autosnippets = mkEnableOption "autosnippets";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue