Compare commits

...

26 commits

Author SHA1 Message Date
raf
d5d4cdeb2f
Merge branch 'main' into notashelf/push-nprwpvxsxrmv 2025-07-21 23:45:00 +03:00
raf
83fd70a937
Merge pull request #1023 from abhirath-a/main
utility/undotree: init
2025-07-21 21:59:29 +03:00
raf
4437cc740a
meta: undo nixfmt style hint 2025-07-21 21:57:11 +03:00
Abhi
338577d9c9
utility/undotree: removed utility category from lazy loader 2025-07-21 14:15:13 -04:00
raf
8ae0aebb8b
Merge branch 'main' into main 2025-07-20 23:08:16 +03:00
Abhi
cec4a94197
utility/undotree: moved undotree to utility object 2025-07-20 15:52:38 -04:00
Abhi
0a1dda51d0
utility/undotree: formatted code 2025-07-20 14:15:49 -04:00
raf
da1fed218b
Merge pull request #1029 from imnotpoz/kaktus-fix
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
languages/wgsl: fix binary path
2025-07-20 15:06:09 +03:00
poz
7f6fe46833
languages/wgsl: fix binary path 2025-07-20 13:59:22 +02:00
raf
5f2530a239
Merge branch 'main' into main 2025-07-20 14:41:52 +03:00
raf
e313c56690
Merge pull request #1028 from gabyx/patch-2
docs: note for installing all grammars in `treesitter.nix`
2025-07-20 14:41:29 +03:00
raf
6ffe9302a6
Merge branch 'main' into patch-2 2025-07-20 14:39:14 +03:00
raf
fc0fceaa61
Merge pull request #1027 from NotAShelf/notashelf/push-nrwtqmomkswt
docs: add flakeless examples; describe flakes prerequisites
2025-07-20 14:36:34 +03:00
Gabriel Nützi
9c0c62bbc6
docs: note for installing all grammars in treesitter.nix 2025-07-20 13:35:56 +02:00
raf
f227721366
Merge branch 'main' into notashelf/push-nrwtqmomkswt 2025-07-20 14:35:00 +03:00
raf
a5a202584f
Merge pull request #1025 from NotAShelf/notashelf/push-pknrorvklyzy
meta: add flake-compat & expose flakeless interface
2025-07-20 14:33:54 +03:00
raf
65da8b24b8
Merge branch 'main' into notashelf/push-pknrorvklyzy 2025-07-20 14:31:32 +03:00
raf
0218bbd6f0
Merge pull request #1026 from gabyx/patch-2
docs: missing `with` in `treesitter.nix`
2025-07-20 14:30:15 +03:00
Gabriel Nützi
a1dcd935b5
docs: missing with in treesitter.nix 2025-07-20 13:12:28 +02:00
Abhirath A
4847c099eb
utility/undotree: added description to enable
Co-authored-by: raf <raf@notashelf.dev>
2025-07-20 05:39:51 -04:00
Abhirath A
60dd59ecae
utility/undotree: removed unnecessary lazy inputs
Co-authored-by: raf <raf@notashelf.dev>
2025-07-20 05:39:20 -04:00
Abhi
1bb9454933
utility/undotree: added extra commands to lazy loader 2025-07-19 23:14:01 -04:00
Abhi
861d6f3ed7
updated release notes 2025-07-19 19:10:30 -04:00
Abhi
b719103337
formatted files 2025-07-19 18:57:31 -04:00
Abhi
81d566ac39
utility/undotree: removed unimportant boilerplate 2025-07-19 14:44:47 -04:00
Abhi
b7b442737a
utility/undotree: init module 2025-07-19 14:37:41 -04:00
9 changed files with 45 additions and 4 deletions

View file

@ -43,7 +43,7 @@ isMaximal: {
# This section does not include a comprehensive list of available language modules.
# To list all available language module options, please visit the nvf manual.
languages = {
enableFormat = true; #
enableFormat = true;
enableTreesitter = true;
enableExtraDiagnostics = true;
@ -194,7 +194,7 @@ isMaximal: {
leetcode-nvim.enable = isMaximal;
multicursors.enable = isMaximal;
smart-splits.enable = isMaximal;
undotree.enable = isMaximal;
motion = {
hop.enable = true;
leap.enable = true;

View file

@ -37,6 +37,7 @@
[snacks.nvim]: https://github.com/folke/snacks.nvim
[oil.nvim]: https://github.com/stevearc/oil.nvim
[hunk.nvim]: https://github.com/julienvincent/hunk.nvim
[undotree]: https://github.com/mbbill/undotree
- Add [typst-preview.nvim] under
`languages.typst.extensions.typst-preview-nvim`.

View file

@ -26,7 +26,7 @@
cmd = ${
if isList cfg.lsp.package
then expToLua cfg.lsp.package
else "{'${cfg.lsp.package}/bin/wgsl_analyzer'}"
else "{'${cfg.lsp.package}/bin/wgsl-analyzer'}"
}
}
'';

View file

@ -25,7 +25,7 @@ in {
type = listOf package;
default = [];
example = literalExpression ''
pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
regex
kdl
];
@ -33,6 +33,7 @@ in {
description = ''
List of treesitter grammars to install. For grammars to be installed properly,
you must use grammars from `pkgs.vimPlugins.nvim-treesitter.builtGrammars`.
You can use `pkgs.vimPlugins.nvim-treesitter.allGrammars` to install all grammars.
For languages already supported by nvf, you may use
{option}`vim.language.<lang>.treesitter` options, which will automatically add

View file

@ -26,5 +26,6 @@
./wakatime
./yanky-nvim
./yazi-nvim
./undotree
];
}

View file

@ -0,0 +1,12 @@
{
vim.lazy.plugins.undotree = {
package = "undotree";
cmd = [
"UndotreeToggle"
"UndotreeShow"
"UndotreeHide"
"UndotreePersistUndo"
"UndotreeFocus"
];
};
}

View file

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

View file

@ -0,0 +1,7 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
in {
options.vim.utility.undotree = {
enable = mkEnableOption "undo history visualizer for Vim [undotree]";
};
}

View file

@ -2497,6 +2497,19 @@
"url": "https://github.com/chomosuke/typst-preview.nvim/archive/dea4525d5420b7c32eebda7de15a6beb9d6574fa.tar.gz",
"hash": "0y658l2ibq0x4cwa4rl3lab7aw4ba68xcrdnxp81p2rsk0d60qq4"
},
"undotree": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "mbbill",
"repo": "undotree"
},
"branch": "master",
"submodules": false,
"revision": "28f2f54a34baff90ea6f4a735ef1813ad875c743",
"url": "https://github.com/mbbill/undotree/archive/28f2f54a34baff90ea6f4a735ef1813ad875c743.tar.gz",
"hash": "0k9qfp64rbwy1lc62x0vkwfl3qlx8633lfbhqxkf64yqwi81ysp5"
},
"vim-dirtytalk": {
"type": "Git",
"repository": {