Compare commits

...

6 commits

Author SHA1 Message Date
raf
bd2394112f
Merge pull request #1419 from Kazimazi/feat/add-blink-indent
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
visuals/blink-indent: init plugin
2026-02-19 00:59:59 +03:00
kazimazi
191d9fb10b visuals/blink-indent: lazy load 2026-02-18 22:28:29 +01:00
kazimazi
0f7764b83b visuals/blink-indent: init plugin 2026-02-18 21:01:23 +01:00
raf
b980b5b3fb
Merge pull request #1416 from Gerg-L/blink.cmp
blink.cmp: don't use fake git
2026-02-18 21:26:41 +03:00
raf
11a449002a
Merge branch 'main' into blink.cmp 2026-02-18 20:10:39 +03:00
Gerg-L
5938115345
blink.cmp: don't use fake git 2026-02-16 18:48:19 -05:00
8 changed files with 56 additions and 5 deletions

View file

@ -118,6 +118,7 @@ isMaximal: {
fidget-nvim.enable = true;
highlight-undo.enable = true;
blink-indent.enable = true;
indent-blankline.enable = true;
# Fun

View file

@ -232,6 +232,8 @@ https://github.com/gorbit99/codewindow.nvim
- Added [`grug-far.nvim`](https://github.com/MagicDuck/grug-far.nvim) the find
and replace tool for neovim.
- Fix lsp `client.supports_method` deprecation warning in nvim v0.12.
- Add [`blink.indent`](https://github.com/saghen/blink.indent) indent guidline
plugin.
[Ladas552](https://github.com/Ladas552)

View file

@ -4,7 +4,6 @@
rustPlatform,
fetchFromGitHub,
rust-jemalloc-sys,
writeShellScriptBin,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "blink-cmp";
@ -22,6 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
"info"
];
# Tries to call git
preBuild = ''
rm build.rs
'';
postInstall = ''
cp -r {lua,plugin} "$out"
@ -44,10 +48,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-Qdt8O7IGj2HySb1jxsv3m33ZxJg96Ckw26oTEEyQjfs=";
nativeBuildInputs = [
(writeShellScriptBin "git" "exit 1")
];
env = {
RUSTC_BOOTSTRAP = true;

View file

@ -0,0 +1,9 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.visuals.blink-indent = {
enable = mkEnableOption "indentation guides [blink-indent]";
setupOpts = mkPluginSetupOption "blink-indent" {};
};
}

View file

@ -0,0 +1,19 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.visuals.blink-indent;
in {
config = mkIf cfg.enable {
vim.lazy.plugins.blink-indent = {
package = "blink-indent";
setupModule = "blink.indent";
inherit (cfg) setupOpts;
event = ["BufEnter"];
};
};
}

View file

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

View file

@ -7,6 +7,7 @@ in {
toggles under individual options.
'')
./blink-indent
./cellular-automaton
./cinnamon-nvim
./fidget-nvim

View file

@ -91,6 +91,19 @@
"url": "https://github.com/moyiz/blink-emoji.nvim/archive/f22ce8cac02a6ece05368220f1e38bd34fe376f9.tar.gz",
"hash": "sha256-pPHESNsByHg2liNUYkUEVR1wP1MZcil1sKTqrNI53e4="
},
"blink-indent": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "saghen",
"repo": "blink.indent"
},
"branch": "main",
"submodules": false,
"revision": "9c80820ca77218a8d28e70075d6f44a1609911fe",
"url": "https://github.com/saghen/blink.indent/archive/9c80820ca77218a8d28e70075d6f44a1609911fe.tar.gz",
"hash": "sha256-SS66JZFCX8viYxYaObASlwtrG5h7yHbVvRBVXBNXkng="
},
"blink-ripgrep-nvim": {
"type": "Git",
"repository": {