Merge branch 'NotAShelf:main' into main

This commit is contained in:
ErinaYip 2026-05-10 20:19:05 +08:00 committed by GitHub
commit 3e7e0282f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 61 deletions

View file

@ -236,7 +236,6 @@ isMaximal: {
notes = {
neorg.enable = false;
orgmode.enable = false;
mind-nvim.enable = isMaximal;
todo-comments.enable = true;
};

View file

@ -41,6 +41,12 @@
[Snoweuph](https://github.com/snoweuph)
- Remove `mind.nvim`. This plugin doesn't exist anymore. The original author
deleted all their GitHub repositories and moved to
[sourcehut](https://sr.ht/~hadronized/). Some repositories where migrated.
`mind.nvim` wasn't one of them. More can be read in
[his blog post](https://strongly-typed-thoughts.net/blog/final-bye-github).
- "Correct `languages.go.treesitter` to contain all Go file types.
`languages.go.treesitter.package` is now `languages.go.treesitter.goPackage`.
New are:

View file

@ -364,5 +364,14 @@ in {
(mkRenamedOptionModule ["vim" "utility" "vim-wakatime" "cli-path"] ["vim" "utility" "vim-wakatime" "setupOpts" "cli_path"])
(mkRenamedOptionModule ["vim" "languages" "go" "treesitter" "gotmplPackage"] ["vim" "languages" "go" "treesitter" "gotmpl" "package"])
]
# 2026-05-09
[
(mkRemovedOptionModule ["vim" "notes" "mind-nvim" "enable"] ''
mind.nvim was deprecated 3 years ago, and the repository was recrently deleted by the author, in his move to sourcehut.
they migrated some repositories, but mind.nvim wasn't one of them. More information can be found here:
<https://strongly-typed-thoughts.net/blog/final-bye-github>
'')
]
];
}

View file

@ -3,7 +3,6 @@
./obsidian
./orgmode
./neorg
./mind-nvim
./todo-comments
];
}

View file

@ -1,33 +0,0 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.binds) pushDownDefault;
cfg = config.vim.notes.mind-nvim;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = [
"mind-nvim"
];
maps.normal = {
"<leader>om" = {action = ":MindOpenMain<CR>";};
"<leader>op" = {action = ":MindOpenProject<CR>";};
"<leader>oc" = {action = ":MindClose<CR>";};
};
binds.whichKey.register = pushDownDefault {
"<leader>o" = "+Notes";
};
pluginRC.mind-nvim = entryAnywhere ''
require'mind'.setup()
'';
};
};
}

View file

@ -1,6 +0,0 @@
{
imports = [
./mind-nvim.nix
./config.nix
];
}

View file

@ -1,7 +0,0 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
in {
options.vim.notes.mind-nvim = {
enable = mkEnableOption "note organizer tool for Neovim [mind-nvim]";
};
}

View file

@ -1102,19 +1102,6 @@
"url": "https://github.com/mellow-theme/mellow.nvim/archive/5cd188489bcc7eb512f0a30581ad972070f8e5cd.tar.gz",
"hash": "sha256-A+2yTvhrug7hZBcoqfwIuuxz41xUPKZ7zqAwujeHTkI="
},
"mind-nvim": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "phaazon",
"repo": "mind.nvim"
},
"branch": "master",
"submodules": false,
"revision": "002137dd7cf97865ebd01b6a260209d2daf2da66",
"url": "https://github.com/phaazon/mind.nvim/archive/002137dd7cf97865ebd01b6a260209d2daf2da66.tar.gz",
"hash": "sha256-JIhAhQYGLLRucwlhzfckQYU5qjqbHtNH52JlGS5a79w="
},
"mini-ai": {
"type": "Git",
"repository": {