feat: Update neovim
This commit is contained in:
@@ -69,6 +69,8 @@ in {
|
|||||||
pkg-config
|
pkg-config
|
||||||
devenv
|
devenv
|
||||||
sleek
|
sleek
|
||||||
|
d2
|
||||||
|
jujutsu
|
||||||
# openapi-tui
|
# openapi-tui
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
|
|||||||
119
flake.lock
generated
119
flake.lock
generated
@@ -298,6 +298,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"d2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1675176182,
|
||||||
|
"narHash": "sha256-+mT4pEbtq7f9ZXhOop3Jnjr7ulxU32VtahffIwQqYF4=",
|
||||||
|
"owner": "terrastruct",
|
||||||
|
"repo": "d2-vim",
|
||||||
|
"rev": "981c87dccb63df2887cc41b96e84bf550f736c57",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "terrastruct",
|
||||||
|
"repo": "d2-vim",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
@@ -1267,11 +1283,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713732794,
|
"lastModified": 1713992342,
|
||||||
"narHash": "sha256-AYCofb8Zu4Mbc1lHDtju/uxeARawRijmOueAqEMEfMU=",
|
"narHash": "sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "670d9ecc3e46a6e3265c203c2d136031a3d3548e",
|
"rev": "2f072c127c041eec36621b8e38a531fe0fe07961",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1288,11 +1304,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713732794,
|
"lastModified": 1713992342,
|
||||||
"narHash": "sha256-AYCofb8Zu4Mbc1lHDtju/uxeARawRijmOueAqEMEfMU=",
|
"narHash": "sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "670d9ecc3e46a6e3265c203c2d136031a3d3548e",
|
"rev": "2f072c127c041eec36621b8e38a531fe0fe07961",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1488,6 +1504,7 @@
|
|||||||
},
|
},
|
||||||
"neovim": {
|
"neovim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"d2": "d2",
|
||||||
"gp-nvim": "gp-nvim",
|
"gp-nvim": "gp-nvim",
|
||||||
"neogit": "neogit",
|
"neogit": "neogit",
|
||||||
"neorg": "neorg",
|
"neorg": "neorg",
|
||||||
@@ -1500,11 +1517,13 @@
|
|||||||
"nvim-devdocs": "nvim-devdocs",
|
"nvim-devdocs": "nvim-devdocs",
|
||||||
"pets": "pets",
|
"pets": "pets",
|
||||||
"rest-nvim": "rest-nvim",
|
"rest-nvim": "rest-nvim",
|
||||||
"systems": "systems_14"
|
"systems": "systems_14",
|
||||||
|
"tree-sitter-d2": "tree-sitter-d2",
|
||||||
|
"tree-sitter-just": "tree-sitter-just"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-gCukuAUllTFxqnRuhUvSapyMCWHd1sSD96SSI9518ow=",
|
"narHash": "sha256-pmGkwZxQ9+lSOJX5Q7+hdxI9tkY+Jfl8yolBymPOUgc=",
|
||||||
"path": "./neovim",
|
"path": "./neovim",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
@@ -1595,11 +1614,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713543876,
|
"lastModified": 1713946171,
|
||||||
"narHash": "sha256-olEWxacm1xZhAtpq+ZkEyQgR4zgfE7ddpNtZNvubi3g=",
|
"narHash": "sha256-lc75rgRQLdp4Dzogv5cfqOg6qYc5Rp83oedF2t0kDp8=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "9e7c20ffd056e406ddd0276ee9d89f09c5e5f4ed",
|
"rev": "230a197063de9287128e2c68a7a4b0cd7d0b50a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1615,11 +1634,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713543876,
|
"lastModified": 1713946171,
|
||||||
"narHash": "sha256-olEWxacm1xZhAtpq+ZkEyQgR4zgfE7ddpNtZNvubi3g=",
|
"narHash": "sha256-lc75rgRQLdp4Dzogv5cfqOg6qYc5Rp83oedF2t0kDp8=",
|
||||||
"owner": "LnL7",
|
"owner": "LnL7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "9e7c20ffd056e406ddd0276ee9d89f09c5e5f4ed",
|
"rev": "230a197063de9287128e2c68a7a4b0cd7d0b50a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1636,11 +1655,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713543876,
|
"lastModified": 1713946171,
|
||||||
"narHash": "sha256-olEWxacm1xZhAtpq+ZkEyQgR4zgfE7ddpNtZNvubi3g=",
|
"narHash": "sha256-lc75rgRQLdp4Dzogv5cfqOg6qYc5Rp83oedF2t0kDp8=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "9e7c20ffd056e406ddd0276ee9d89f09c5e5f4ed",
|
"rev": "230a197063de9287128e2c68a7a4b0cd7d0b50a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1908,16 +1927,15 @@
|
|||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714124569,
|
"lastModified": 1714368997,
|
||||||
"narHash": "sha256-v8DjUedj2WB0cyeOlZtM88Xm2sfrhlgcqqoEFFr8myc=",
|
"narHash": "sha256-NYAi9WSwFab1S3hDFWos3sk+o34TY1wwreIxHTchzSs=",
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "aa696d6fb70d7a68a010a18f844ded267cfcb80a",
|
"rev": "b12d81c69a7328256ce52eb640b5682bc108df78",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"ref": "ast-grep",
|
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -1935,16 +1953,15 @@
|
|||||||
"pre-commit-hooks": "pre-commit-hooks_2"
|
"pre-commit-hooks": "pre-commit-hooks_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714124569,
|
"lastModified": 1714368997,
|
||||||
"narHash": "sha256-v8DjUedj2WB0cyeOlZtM88Xm2sfrhlgcqqoEFFr8myc=",
|
"narHash": "sha256-NYAi9WSwFab1S3hDFWos3sk+o34TY1wwreIxHTchzSs=",
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "aa696d6fb70d7a68a010a18f844ded267cfcb80a",
|
"rev": "b12d81c69a7328256ce52eb640b5682bc108df78",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"ref": "ast-grep",
|
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -2059,11 +2076,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713775815,
|
"lastModified": 1713954846,
|
||||||
"narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=",
|
"narHash": "sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4",
|
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2118,11 +2135,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713775815,
|
"lastModified": 1713954846,
|
||||||
"narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=",
|
"narHash": "sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4",
|
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2698,6 +2715,38 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tree-sitter-d2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1694985317,
|
||||||
|
"narHash": "sha256-Auap3+yBBxv4RyiSaQ1sHKsSfzgrKdq0F1ethWnM+pE=",
|
||||||
|
"owner": "ravsii",
|
||||||
|
"repo": "tree-sitter-d2",
|
||||||
|
"rev": "c21126b5ee97b0dffe4b2f982932739f0a772743",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ravsii",
|
||||||
|
"repo": "tree-sitter-d2",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tree-sitter-just": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1711142481,
|
||||||
|
"narHash": "sha256-EnU0IpBr9i3+RFLzg7g6XuDSiuMBLGQ0eCJNPKeDohw=",
|
||||||
|
"owner": "IndianBoy42",
|
||||||
|
"repo": "tree-sitter-just",
|
||||||
|
"rev": "6c2f018ab1d90946c0ce029bb2f7d57f56895dff",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "IndianBoy42",
|
||||||
|
"repo": "tree-sitter-just",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = "github:GaetanLepage/nixvim/ast-grep";
|
url = "github:nix-community/nixvim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nix-index-database.url = "github:Mic92/nix-index-database";
|
nix-index-database.url = "github:Mic92/nix-index-database";
|
||||||
|
|||||||
29
neovim/flake.lock
generated
29
neovim/flake.lock
generated
@@ -253,11 +253,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713732794,
|
"lastModified": 1713992342,
|
||||||
"narHash": "sha256-AYCofb8Zu4Mbc1lHDtju/uxeARawRijmOueAqEMEfMU=",
|
"narHash": "sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "670d9ecc3e46a6e3265c203c2d136031a3d3548e",
|
"rev": "2f072c127c041eec36621b8e38a531fe0fe07961",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -348,11 +348,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713543876,
|
"lastModified": 1713946171,
|
||||||
"narHash": "sha256-olEWxacm1xZhAtpq+ZkEyQgR4zgfE7ddpNtZNvubi3g=",
|
"narHash": "sha256-lc75rgRQLdp4Dzogv5cfqOg6qYc5Rp83oedF2t0kDp8=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "9e7c20ffd056e406ddd0276ee9d89f09c5e5f4ed",
|
"rev": "230a197063de9287128e2c68a7a4b0cd7d0b50a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -390,16 +390,15 @@
|
|||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714124569,
|
"lastModified": 1714368997,
|
||||||
"narHash": "sha256-v8DjUedj2WB0cyeOlZtM88Xm2sfrhlgcqqoEFFr8myc=",
|
"narHash": "sha256-NYAi9WSwFab1S3hDFWos3sk+o34TY1wwreIxHTchzSs=",
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "aa696d6fb70d7a68a010a18f844ded267cfcb80a",
|
"rev": "b12d81c69a7328256ce52eb640b5682bc108df78",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "GaetanLepage",
|
"owner": "nix-community",
|
||||||
"ref": "ast-grep",
|
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -475,11 +474,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713775815,
|
"lastModified": 1713954846,
|
||||||
"narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=",
|
"narHash": "sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4",
|
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
systems.url = "github:nix-systems/default";
|
systems.url = "github:nix-systems/default";
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = "github:GaetanLepage/nixvim/ast-grep";
|
url = "github:nix-community/nixvim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nnn = {
|
nnn = {
|
||||||
@@ -38,6 +38,18 @@
|
|||||||
url = "github:NeogitOrg/neogit/nightly";
|
url = "github:NeogitOrg/neogit/nightly";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
tree-sitter-d2 = {
|
||||||
|
url = "github:ravsii/tree-sitter-d2";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
tree-sitter-just = {
|
||||||
|
url = "github:IndianBoy42/tree-sitter-just";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
d2 = {
|
||||||
|
url = "github:terrastruct/d2-vim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ in rec {
|
|||||||
++ (with pkgs.tree-sitter-grammars; [
|
++ (with pkgs.tree-sitter-grammars; [
|
||||||
tree-sitter-just
|
tree-sitter-just
|
||||||
tree-sitter-nu
|
tree-sitter-nu
|
||||||
|
tree-sitter-d2
|
||||||
tree-sitter-norg-meta
|
tree-sitter-norg-meta
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
@@ -321,6 +322,7 @@ in rec {
|
|||||||
"<leader>mm" = "[[<cmd>Neorg<cr>]]";
|
"<leader>mm" = "[[<cmd>Neorg<cr>]]";
|
||||||
"vff" = "[[<cmd>vertical Gdiffsplit<cr>]]";
|
"vff" = "[[<cmd>vertical Gdiffsplit<cr>]]";
|
||||||
|
|
||||||
|
"<leader>rr" = "vim.lsp.buf.rename";
|
||||||
"<C-k>" = "vim.lsp.buf.definition";
|
"<C-k>" = "vim.lsp.buf.definition";
|
||||||
"<C-\\>" = "require('FTerm').toggle";
|
"<C-\\>" = "require('FTerm').toggle";
|
||||||
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
||||||
@@ -333,6 +335,7 @@ in rec {
|
|||||||
"<leader>gg" = "require'telescope.builtin'.live_grep";
|
"<leader>gg" = "require'telescope.builtin'.live_grep";
|
||||||
"<leader>;" = "require'telescope.builtin'.buffers";
|
"<leader>;" = "require'telescope.builtin'.buffers";
|
||||||
|
|
||||||
|
# Emulate tmux bindings with prefix <C-q> and tabs
|
||||||
"<C-q><C-q>" = "[[g<Tab>]]";
|
"<C-q><C-q>" = "[[g<Tab>]]";
|
||||||
"<C-q>c" = "[[<cmd>tabnew<cr>]]";
|
"<C-q>c" = "[[<cmd>tabnew<cr>]]";
|
||||||
"<C-q>x" = "[[<cmd>tabclose<cr>]]";
|
"<C-q>x" = "[[<cmd>tabclose<cr>]]";
|
||||||
@@ -618,6 +621,13 @@ in rec {
|
|||||||
},
|
},
|
||||||
ignore_blank_lines = true, -- ignore blank lines when sending visual select lines
|
ignore_blank_lines = true, -- ignore blank lines when sending visual select lines
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.filetype.add({
|
||||||
|
extension = {
|
||||||
|
http = "http",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
'';
|
'';
|
||||||
package = pkgs.neovim-nightly;
|
package = pkgs.neovim-nightly;
|
||||||
opts = {
|
opts = {
|
||||||
@@ -689,6 +699,7 @@ in rec {
|
|||||||
nvim-devdocs
|
nvim-devdocs
|
||||||
|
|
||||||
iron-nvim
|
iron-nvim
|
||||||
|
d2
|
||||||
|
|
||||||
pkgs.tree-sitter-grammars.tree-sitter-just
|
pkgs.tree-sitter-grammars.tree-sitter-just
|
||||||
pkgs.tree-sitter-grammars.tree-sitter-nu
|
pkgs.tree-sitter-grammars.tree-sitter-nu
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
vimPlugins =
|
vimPlugins =
|
||||||
prev.vimPlugins
|
prev.vimPlugins
|
||||||
// {
|
// {
|
||||||
|
d2 = final.pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "d2";
|
||||||
|
version = "1";
|
||||||
|
src = inputs.d2;
|
||||||
|
};
|
||||||
gp-nvim = final.pkgs.vimUtils.buildVimPlugin {
|
gp-nvim = final.pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "gp.nvim";
|
name = "gp.nvim";
|
||||||
src = inputs.gp-nvim;
|
src = inputs.gp-nvim;
|
||||||
@@ -13,16 +18,7 @@
|
|||||||
src = inputs.neogit;
|
src = inputs.neogit;
|
||||||
dependencies = with final.vimPlugins; [plenary-nvim diffview-nvim fzf-lua];
|
dependencies = with final.vimPlugins; [plenary-nvim diffview-nvim fzf-lua];
|
||||||
};
|
};
|
||||||
# comfortable-motion = final.pkgs.vimUtils.buildVimPlugin {
|
|
||||||
# name = "comfortable-motion";
|
|
||||||
# # TODO: Move to subflake
|
|
||||||
# src = final.pkgs.fetchFromGitHub {
|
|
||||||
# owner = "yuttie";
|
|
||||||
# repo = "comfortable-motion.vim";
|
|
||||||
# rev = "master";
|
|
||||||
# sha256 = "sha256-S1LJXmShhpCJIg/FEPx3jFbmPpS/1U4MAQN2RY/nkI0";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
nvim-dap-rr = final.pkgs.vimUtils.buildVimPlugin {
|
nvim-dap-rr = final.pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "nvim-dap-rr";
|
name = "nvim-dap-rr";
|
||||||
# TODO: Move to subflake
|
# TODO: Move to subflake
|
||||||
@@ -86,13 +82,12 @@
|
|||||||
tree-sitter-just = final.pkgs.tree-sitter.buildGrammar {
|
tree-sitter-just = final.pkgs.tree-sitter.buildGrammar {
|
||||||
language = "just";
|
language = "just";
|
||||||
version = "1";
|
version = "1";
|
||||||
# TODO: Move to subflake
|
src = inputs.tree-sitter-just;
|
||||||
src = final.pkgs.fetchFromGitHub {
|
};
|
||||||
owner = "IndianBoy42";
|
tree-sitter-d2 = final.pkgs.tree-sitter.buildGrammar {
|
||||||
repo = "tree-sitter-just";
|
language = "d2";
|
||||||
rev = "613b3fd39183bec94bc741addc5beb6e6f17969f";
|
version = "1";
|
||||||
sha256 = "sha256-OBlXwWriE6cdGn0dhpfSMnJ6Rx1Z7KcXehaamdi/TxQ";
|
src = inputs.tree-sitter-d2;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
tree-sitter-nu = final.pkgs.tree-sitter.buildGrammar {
|
tree-sitter-nu = final.pkgs.tree-sitter.buildGrammar {
|
||||||
language = "nu";
|
language = "nu";
|
||||||
@@ -107,51 +102,51 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rest-nvim-overlay = final: prev: let
|
# rest-nvim-overlay = final: prev: let
|
||||||
rest-nvim-src = inputs.rest-nvim;
|
# rest-nvim-src = inputs.rest-nvim;
|
||||||
rest-nvim-luaPackage-override = luaself: luaprev: {
|
# rest-nvim-luaPackage-override = luaself: luaprev: {
|
||||||
rest-nvim = luaself.callPackage (
|
# rest-nvim = luaself.callPackage (
|
||||||
{
|
# {
|
||||||
luaOlder,
|
# luaOlder,
|
||||||
buildLuarocksPackage,
|
# buildLuarocksPackage,
|
||||||
lua,
|
# lua,
|
||||||
nvim-nio,
|
# nvim-nio,
|
||||||
luarocks-nix,
|
# luarocks-nix,
|
||||||
lua-curl,
|
# lua-curl,
|
||||||
mimetypes,
|
# mimetypes,
|
||||||
xml2lua,
|
# xml2lua,
|
||||||
}:
|
# }:
|
||||||
buildLuarocksPackage {
|
# buildLuarocksPackage {
|
||||||
pname = "rest.nvim";
|
# pname = "rest.nvim";
|
||||||
version = "scm-1";
|
# version = "scm-1";
|
||||||
knownRockspec = "${rest-nvim-src}/rest.nvim-scm-1.rockspec";
|
# knownRockspec = "${rest-nvim-src}/rest.nvim-scm-1.rockspec";
|
||||||
src = rest-nvim-src;
|
# src = rest-nvim-src;
|
||||||
propagatedBuildInputs = [lua luarocks-nix nvim-nio lua-curl mimetypes xml2lua];
|
# propagatedBuildInputs = [lua luarocks-nix nvim-nio lua-curl mimetypes xml2lua];
|
||||||
disable = luaOlder "5.1";
|
# disable = luaOlder "5.1";
|
||||||
}
|
# }
|
||||||
) {};
|
# ) {};
|
||||||
};
|
# };
|
||||||
lua5_1 = prev.lua5_1.override {
|
# lua5_1 = prev.lua5_1.override {
|
||||||
packageOverrides = rest-nvim-luaPackage-override;
|
# packageOverrides = rest-nvim-luaPackage-override;
|
||||||
};
|
# };
|
||||||
lua51Packages = final.lua5_1.pkgs;
|
# lua51Packages = final.lua5_1.pkgs;
|
||||||
in {
|
# in {
|
||||||
inherit lua5_1 lua51Packages;
|
# inherit lua5_1 lua51Packages;
|
||||||
# vimPlugins =
|
# # vimPlugins =
|
||||||
# prev.vimPlugins
|
# # prev.vimPlugins
|
||||||
# // {
|
# # // {
|
||||||
# rest-nvim = final.neovimUtils.buildNeovimPlugin {
|
# # rest-nvim = final.neovimUtils.buildNeovimPlugin {
|
||||||
# pname = "rest.nvim";
|
# # pname = "rest.nvim";
|
||||||
# version = "scm-1";
|
# # version = "scm-1";
|
||||||
# src = rest-nvim-src;
|
# # src = rest-nvim-src;
|
||||||
# };
|
# # };
|
||||||
# };
|
# # };
|
||||||
# rest-nvim = final.vimPlugins.rest-nvim;
|
# # rest-nvim = final.vimPlugins.rest-nvim;
|
||||||
};
|
# };
|
||||||
in [
|
in [
|
||||||
inputs.nnn.overlay
|
inputs.nnn.overlay
|
||||||
inputs.nixvim.overlays.default
|
inputs.nixvim.overlays.default
|
||||||
vimPlugins
|
vimPlugins
|
||||||
tree-sitter-grammars
|
tree-sitter-grammars
|
||||||
rest-nvim-overlay
|
# rest-nvim-overlay
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user