Compare commits
32 commits
03a638205b
...
34a7d94cdc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34a7d94cdc | ||
|
|
0dd35171c8 | ||
|
|
bb0d555610 | ||
|
|
22dd228f36 | ||
|
|
edbd483f08 | ||
|
|
c807eb762b | ||
|
|
5278f01d0c | ||
|
|
a704c5ac0b | ||
|
|
a4c3066e02 | ||
|
|
0554e89cdf | ||
|
|
abf20426cd | ||
|
|
65ff8ffbe4 | ||
|
|
a7df38160c | ||
|
|
fd05c80865 | ||
|
|
c01132cd90 | ||
|
|
5ccb57eab7 | ||
|
|
60d72ae187 | ||
|
|
1d9e19a8b8 | ||
|
|
dc9a0eb81b | ||
|
|
311377dd8f | ||
|
|
68fd38bfa7 | ||
|
|
c82140ffe0 | ||
|
|
4c09a1ac2d | ||
|
|
a4522deb63 | ||
|
|
6c906e0873 | ||
|
|
a9082b1cda | ||
|
|
6ca2e221eb | ||
|
|
3910fdb8e2 | ||
|
|
0ef89a2fbc | ||
|
|
5b138edcb2 | ||
|
|
57d393deb5 | ||
|
|
577b34ddae |
46 changed files with 258 additions and 158 deletions
|
|
@ -1,7 +1,6 @@
|
|||
[book]
|
||||
authors = []
|
||||
language = "en"
|
||||
multilingual = false
|
||||
src = "."
|
||||
title = "nixvim docs"
|
||||
|
||||
|
|
@ -18,5 +17,3 @@ git-repository-url = "https://github.com/nix-community/nixvim"
|
|||
[output.html.fold]
|
||||
enable = true
|
||||
level = 0
|
||||
|
||||
[preprocessor.alerts]
|
||||
|
|
|
|||
|
|
@ -334,7 +334,6 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
buildInputs = [
|
||||
pkgs.mdbook
|
||||
pkgs.mdbook-alerts
|
||||
];
|
||||
|
||||
# Build a source from the fileset containing the following paths,
|
||||
|
|
|
|||
|
|
@ -185,14 +185,14 @@ title = "yumevim"
|
|||
description = "nixvim flake, rather minimalist translation of my lua configuration"
|
||||
url = "https://github.com/c4patino/nixvim"
|
||||
|
||||
[[config]]
|
||||
owner = "nicklundin08"
|
||||
title = "dots"
|
||||
description = "Nicks dotfiles"
|
||||
url = "https://github.com/nicklundin08/dots/blob/main/home-manager/home.nix"
|
||||
|
||||
[[config]]
|
||||
owner = "literally-sai"
|
||||
title = "vermvim"
|
||||
description = "nixvim flake, with custom base16 loader"
|
||||
url = "https://github.com/literally-sai/vermvim"
|
||||
|
||||
[[config]]
|
||||
owner = "carl0xs"
|
||||
title = "nixcfg"
|
||||
description = "Nix configuration setup, including nixvim"
|
||||
url = "https://github.com/carl0xs/nixcfg/blob/main/modules/workstation/neovim.nix"
|
||||
|
|
|
|||
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765835352,
|
||||
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
|
||||
"lastModified": 1768135262,
|
||||
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "a34fae9c08a15ad73f295041fec82323541400a9",
|
||||
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -22,11 +22,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1767026758,
|
||||
"narHash": "sha256-7fsac/f7nh/VaKJ/qm3I338+wAJa/3J57cOGpXi0Sbg=",
|
||||
"lastModified": 1768875095,
|
||||
"narHash": "sha256-dYP3DjiL7oIiiq3H65tGIXXIT1Waiadmv93JS0sS+8A=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "346dd96ad74dc4457a9db9de4f4f57dab2e5731d",
|
||||
"rev": "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
42
flake/dev/flake.lock
generated
42
flake/dev/flake.lock
generated
|
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"dev-nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1767026758,
|
||||
"narHash": "sha256-7fsac/f7nh/VaKJ/qm3I338+wAJa/3J57cOGpXi0Sbg=",
|
||||
"lastModified": 1768875095,
|
||||
"narHash": "sha256-dYP3DjiL7oIiiq3H65tGIXXIT1Waiadmv93JS0sS+8A=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "346dd96ad74dc4457a9db9de4f4f57dab2e5731d",
|
||||
"rev": "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -23,11 +23,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764011051,
|
||||
"narHash": "sha256-M7SZyPZiqZUR/EiiBJnmyUbOi5oE/03tCeFrTiUZchI=",
|
||||
"lastModified": 1768818222,
|
||||
"narHash": "sha256-460jc0+CZfyaO8+w8JNtlClB2n4ui1RbHfPTLkpwhU8=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "17ed8d9744ebe70424659b0ef74ad6d41fc87071",
|
||||
"rev": "255a2b1725a20d060f566e4755dbf571bbbb5f76",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -80,11 +80,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765911976,
|
||||
"narHash": "sha256-t3T/xm8zstHRLx+pIHxVpQTiySbKqcQbK+r+01XVKc0=",
|
||||
"lastModified": 1769069492,
|
||||
"narHash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "b68b780b69702a090c8bb1b973bab13756cc7a27",
|
||||
"rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -121,11 +121,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1767104570,
|
||||
"narHash": "sha256-GKgwu5//R+cLdKysZjGqvUEEOGXXLdt93sNXeb2M/Lk=",
|
||||
"lastModified": 1769132734,
|
||||
"narHash": "sha256-gmU9cRplrQWqoback9PgQX7Dlsdx8JlhlVZwf0q1F7E=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "e4e78a2cbeaddd07ab7238971b16468cc1d14daf",
|
||||
"rev": "d055b309a6277343cb1033a11d7500f0a0f669fc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -167,11 +167,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1767028240,
|
||||
"narHash": "sha256-0/fLUqwJ4Z774muguUyn5t8AQ6wyxlNbHexpje+5hRo=",
|
||||
"lastModified": 1768764703,
|
||||
"narHash": "sha256-5ulSDyOG1U+1sJhkJHYsUOWEsmtLl97O0NTVMvgIVyc=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "c31afa6e76da9bbc7c9295e39c7de9fca1071ea1",
|
||||
"rev": "0fc4e7ac670a0ed874abacf73c4b072a6a58064b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -189,11 +189,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761730856,
|
||||
"narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=",
|
||||
"lastModified": 1768249818,
|
||||
"narHash": "sha256-ANfn5OqIxq3HONPIXZ6zuI5sLzX1sS+2qcf/Pa0kQEc=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b",
|
||||
"rev": "b6f77b88e9009bfde28e2130e218e5123dc66796",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -236,11 +236,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1767122417,
|
||||
"narHash": "sha256-yOt/FTB7oSEKQH9EZMFMeuldK1HGpQs2eAzdS9hNS/o=",
|
||||
"lastModified": 1768158989,
|
||||
"narHash": "sha256-67vyT1+xClLldnumAzCTBvU0jLZ1YBcf4vANRWP3+Ak=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "dec15f37015ac2e774c84d0952d57fcdf169b54d",
|
||||
"rev": "e96d59dff5c0d7fddb9d113ba108f03c3ef99eca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -18,10 +18,17 @@
|
|||
nixf-diagnose = {
|
||||
enable = true;
|
||||
priority = -1;
|
||||
ignore = [
|
||||
"sema-primop-overridden"
|
||||
"sema-unused-def-lambda-witharg-formal"
|
||||
];
|
||||
excludes = [
|
||||
# sema-unused-def-lambda-noarg-formal
|
||||
"ci/rust-analyzer/default.nix"
|
||||
];
|
||||
};
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
};
|
||||
prettier = {
|
||||
enable = true;
|
||||
|
|
@ -63,11 +70,6 @@
|
|||
"docs/gfm-alerts-to-admonitions/tests/**/*.yml"
|
||||
];
|
||||
formatter.ruff-format.options = [ "--isolated" ];
|
||||
formatter.nixf-diagnose.options = [
|
||||
"--auto-fix"
|
||||
"--ignore=sema-unused-def-lambda-witharg-formal"
|
||||
"--ignore=sema-primop-overridden"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@
|
|||
"packer_fmt",
|
||||
"palantir-java-format",
|
||||
"pangu",
|
||||
"pasfmt",
|
||||
"perlimports",
|
||||
"perltidy",
|
||||
"pg_format",
|
||||
|
|
@ -188,6 +189,7 @@
|
|||
"ruff_format",
|
||||
"ruff_organize_imports",
|
||||
"rufo",
|
||||
"rumdl",
|
||||
"runic",
|
||||
"rustfmt",
|
||||
"rustywind",
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@
|
|||
"glint": "https://github.com/typed-ember/glint\nhttps://typed-ember.gitbook.io/glint/ `glint-language-server` is\ninstalled when adding `@glint/core` to your project's devDependencies:\n\\`\\``sh npm install @glint/core --save-dev yarn add -D @glint/core This configuration uses the local installation of`glint-language-server`(found in the`node_modules`directory of your project). To use a global installation of`glint-language-server`, set the`init_options.glint.useGlobal`to`true\\`.\nvim.lsp.config('glint', { init_options = { glint = { useGlobal = true,\n}, }, })",
|
||||
"glsl_analyzer": "https://github.com/nolanderc/glsl_analyzer Language server for GLSL",
|
||||
"glslls": "https://github.com/svenstaro/glsl-language-server Language server\nimplementation for GLSL `glslls` can be compiled and installed manually,\nor, if your distribution has access to the AUR, via the\n`glsl-language-server` AUR package",
|
||||
"gn_language_server": "https://github.com/google/gn-language-server A language server for GN,\nthe build configuration language used in Chromium, Fuchsia, and other\nprojects.",
|
||||
"gnls": "https://github.com/microsoft/gnls Microsoft's language server for GN\nbuild files. Assuming there is a `gnls` script somewhere in your\n`$PATH`, containing for example:\n\n``` shell\nGNLS_SRC_DIR=</path/to/gnls>\nexec node ${GNLS_SRC_DIR}/build/server.js $@\n```",
|
||||
"golangci_lint_ls": "Combination of both lint server and client\nhttps://github.com/nametake/golangci-lint-langserver\nhttps://github.com/golangci/golangci-lint Installation of binaries\nneeded is done via\n\n go install github.com/nametake/golangci-lint-langserver@latest\n go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest",
|
||||
"gopls": "https://github.com/golang/tools/tree/master/gopls Google's lsp server\nfor golang.",
|
||||
|
|
@ -228,6 +229,7 @@
|
|||
"pico8_ls": "https://github.com/japhib/pico8-ls Full language support for the PICO-8\ndialect of Lua.",
|
||||
"please": "https://github.com/thought-machine/please High-performance extensible\nbuild system for reproducible multi-language builds. The `plz` binary\nwill automatically install the LSP for you on first run",
|
||||
"pli": "`pli_language_server` is a language server for the PL/I language used on\nIBM SystemZ mainframes. To learn how to configure the PL/I language\nserver, see the [PL/I Language Support\ndocumentation](https://github.com/zowe/zowe-pli-language-support).",
|
||||
"pony_language_server": "https://github.com/ponylang/pony-language-server Language server for the\nPony programming language",
|
||||
"poryscript_pls": "https://github.com/huderlem/poryscript-pls Language server for\nporyscript (a high level scripting language for GBA-era Pokémon\ndecompilation projects)",
|
||||
"postgres_lsp": "https://pg-language-server.com A collection of language tools and a\nLanguage Server Protocol (LSP) implementation for Postgres, focusing on\ndeveloper experience and reliable SQL tooling.",
|
||||
"powershell_es": "",
|
||||
|
|
@ -311,7 +313,7 @@
|
|||
"svls": "https://github.com/dalance/svls Language server for verilog and\nSystemVerilog `svls` can be installed via `cargo`:\n`sh cargo install svls`",
|
||||
"swift_mesonls": "https://github.com/JCWasmx86/Swift-MesonLSP Meson language server\nwritten in Swift",
|
||||
"syntax_tree": "https://ruby-syntax-tree.github.io/syntax_tree/ A fast Ruby parser and\nformatter. Syntax Tree is a suite of tools built on top of the internal\nCRuby parser. It provides the ability to generate a syntax tree from\nsource, as well as the tools necessary to inspect and manipulate that\nsyntax tree. It can be used to build formatters, linters, language\nservers, and more.\n\n``` sh\ngem install syntax_tree\n```",
|
||||
"systemd_ls": "https://github.com/psacawa/systemd-language-server\n`systemd-language-server` can be installed via `pip`:\n\n``` sh\npip install systemd-language-server\n```\n\nLanguage Server for Systemd unit files",
|
||||
"systemd_ls": "Renamed to [systemd_lsp](#systemd_lsp)",
|
||||
"systemd_lsp": "https://github.com/JFryy/systemd-lsp A Language Server Protocol (LSP)\nimplementation for Systemd unit files, providing editing support with\nsyntax highlighting, diagnostics, autocompletion, and documentation.\n`systemd-lsp` can be installed via `cargo`:\n\n``` sh\ncargo install systemd-lsp\n```\n\nA language server implementation for Systemd unit files made in Rust.",
|
||||
"tabby_ml": "https://tabby.tabbyml.com/blog/running-tabby-as-a-language-server\nLanguage server for Tabby, an opensource, self-hosted AI coding\nassistant. `tabby-agent` can be installed via `npm`:\n\n``` sh\nnpm install --global tabby-agent\n```",
|
||||
"tailwindcss": "https://github.com/tailwindlabs/tailwindcss-intellisense Tailwind CSS\nLanguage Server can be installed via npm: npm install -g\n@tailwindcss/language-server",
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
"fish",
|
||||
"gccdiag",
|
||||
"gdlint",
|
||||
"gitleaks",
|
||||
"gitlint",
|
||||
"glslc",
|
||||
"golangci_lint",
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
"glasgow"
|
||||
"glint"
|
||||
"gnls"
|
||||
"gn_language_server"
|
||||
"gradle_ls"
|
||||
"grammarly"
|
||||
"graphql" # nodePackages.graphql-language-service-cli was removed in https://github.com/NixOS/nixpkgs/pull/382557
|
||||
|
|
@ -120,6 +121,7 @@
|
|||
"prolog_ls"
|
||||
"prosemd_lsp"
|
||||
"pug"
|
||||
"pony_language_server"
|
||||
"puppet"
|
||||
"purescriptls"
|
||||
"pyre"
|
||||
|
|
|
|||
|
|
@ -121,9 +121,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
If true will display arrow index in scrollbar at every update.
|
||||
'';
|
||||
|
||||
overlap = lib.nixvim.defaultNullOpts.mkBool false '''';
|
||||
overlap = lib.nixvim.defaultNullOpts.mkBool false "";
|
||||
|
||||
priority = lib.nixvim.defaultNullOpts.mkInt 1000 '''';
|
||||
priority = lib.nixvim.defaultNullOpts.mkInt 1000 "";
|
||||
};
|
||||
|
||||
zindex = lib.nixvim.defaultNullOpts.mkInt 50 ''
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ types.submodule {
|
|||
'';
|
||||
|
||||
transform_items = defaultNullOpts.mkRaw' {
|
||||
pluginDefault = ''function(_, items) return items end'';
|
||||
pluginDefault = "function(_, items) return items end";
|
||||
description = ''
|
||||
Function to transform the items before they're returned.
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ in
|
|||
# 2025-10-08 build failure (haskellPackages.hindent)
|
||||
hindent = states.broken haskellPackages.hindent;
|
||||
|
||||
# TODO: 2026-01-23 docstrfmt test failure in nixpkgs
|
||||
docstrfmt = states.broken python313Packages.docstrfmt;
|
||||
|
||||
format-queries = null; # Uses neovim itself
|
||||
init = null; # Internal thingamajig
|
||||
injected = null; # Internal formatter
|
||||
|
|
@ -112,7 +115,8 @@ in
|
|||
fish_indent = fishMinimal;
|
||||
forge_fmt = foundry;
|
||||
format-dune-file = dune_3;
|
||||
gdformat = gdtoolkit_4;
|
||||
# TODO: 2026-01-23 gdscript-formatter hash mismatch in nixpkgs
|
||||
gdformat = states.broken gdtoolkit_4;
|
||||
gofmt = go;
|
||||
goimports = gotools;
|
||||
hcl = hclfmt;
|
||||
|
|
@ -134,7 +138,7 @@ in
|
|||
inherit (ocamlPackages) ocp-indent;
|
||||
odinfmt = ols;
|
||||
opa_fmt = open-policy-agent;
|
||||
perltidy = perl538Packages.PerlTidy;
|
||||
perltidy = perlPackages.PerlTidy;
|
||||
pg_format = pgformatter;
|
||||
php_cs_fixer = php83Packages.php-cs-fixer;
|
||||
inherit (php84Packages) phpinsights;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
preConfig = ''
|
||||
local coq = require 'coq'
|
||||
'';
|
||||
setupWrappers = [ (s: ''coq.lsp_ensure_capabilities(${s})'') ];
|
||||
setupWrappers = [ (s: "coq.lsp_ensure_capabilities(${s})") ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ in
|
|||
"jq"
|
||||
"languagetool"
|
||||
"mypy"
|
||||
"nixfmt"
|
||||
"php"
|
||||
"prettypst"
|
||||
"proselint"
|
||||
|
|
@ -148,7 +149,6 @@ in
|
|||
lua_format = "luaformatter";
|
||||
markdownlint = "markdownlint-cli";
|
||||
mcs = "mono";
|
||||
nixfmt = "nixfmt-classic";
|
||||
phpcbf = [
|
||||
"phpPackages"
|
||||
"php-codesniffer"
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
component =
|
||||
defaultNullOpts.mkAttrsOf types.str
|
||||
{
|
||||
mode = ''%{lightline#mode()}'';
|
||||
mode = "%{lightline#mode()}";
|
||||
absolutepath = "%F";
|
||||
relativepath = "%f";
|
||||
filename = "%t";
|
||||
|
|
@ -81,7 +81,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
line = "%l";
|
||||
column = "%c";
|
||||
close = "%999X X ";
|
||||
winnr = ''%{winnr()}'';
|
||||
winnr = "%{winnr()}";
|
||||
}
|
||||
''
|
||||
Lightline component definitions. Uses 'statusline' syntax.
|
||||
|
|
@ -151,7 +151,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"filename"
|
||||
"modified"
|
||||
];
|
||||
} ''A dictionary to store the tab components in each tabs.'';
|
||||
} "A dictionary to store the tab components in each tabs.";
|
||||
|
||||
mode_map =
|
||||
defaultNullOpts.mkAttrsOf types.str
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
linterConfig' =
|
||||
if builtins.isString linterConfig then lib.nixvim.mkRaw linterConfig else linterConfig;
|
||||
in
|
||||
"__lint.linters.${customLinter} = ${toLuaObject linterConfig'}"
|
||||
''__lint.linters["${customLinter}"] = ${toLuaObject linterConfig'}''
|
||||
) cfg.customLinters
|
||||
)
|
||||
))
|
||||
|
|
@ -241,7 +241,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
propName: propValue:
|
||||
lib.optionalString (
|
||||
propValue != null
|
||||
) "__lint.linters.${linter}.${propName} = ${toLuaObject propValue}"
|
||||
) ''__lint.linters["${linter}"].${propName} = ${toLuaObject propValue}''
|
||||
) linterConfig
|
||||
) cfg.linters
|
||||
)
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ in
|
|||
"fprettify"
|
||||
"gersemi"
|
||||
"gitlint"
|
||||
"gitleaks"
|
||||
"gofumpt"
|
||||
"golines"
|
||||
"hadolint"
|
||||
|
|
@ -67,6 +68,7 @@ in
|
|||
"mdformat"
|
||||
"mdl"
|
||||
"mypy"
|
||||
"nixfmt"
|
||||
"pmd"
|
||||
"prettierd"
|
||||
"proselint"
|
||||
|
|
@ -184,7 +186,6 @@ in
|
|||
meson_format = "meson";
|
||||
mix = "elixir";
|
||||
nimpretty = "nim";
|
||||
nixfmt = "nixfmt-classic";
|
||||
nixpkgs_fmt = "nixpkgs-fmt";
|
||||
opacheck = "open-policy-agent";
|
||||
opentofu_fmt = "opentofu";
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
Whether the cursor should be placed before or after the substitution.
|
||||
'';
|
||||
|
||||
keys = lib.nixvim.defaultNullOpts.mkStr "qwertyuiopzxcvbnmasdfghjkl" '''';
|
||||
keys = lib.nixvim.defaultNullOpts.mkStr "qwertyuiopzxcvbnmasdfghjkl" "";
|
||||
|
||||
highlight = lib.nixvim.defaultNullOpts.mkStr "Search" ''
|
||||
Which highlight group to use for the match.
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO: upstream inclusion/patch
|
||||
dependencies = [ "git" ];
|
||||
|
||||
settingsExample = {
|
||||
workspaces = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"q" = "Close";
|
||||
};
|
||||
}
|
||||
''The task list displays all tasks that have been created. It shows the task status, name, and a summary of the task output.'';
|
||||
"The task list displays all tasks that have been created. It shows the task status, name, and a summary of the task output.";
|
||||
|
||||
task_editor = {
|
||||
bindings =
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
set_compressed = false;
|
||||
};
|
||||
};
|
||||
} ''Table of client configurations.'';
|
||||
} "Table of client configurations.";
|
||||
|
||||
cookies = {
|
||||
enable = defaultNullOpts.mkBool true ''
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "vscode-diff";
|
||||
package = "vscode-diff-nvim";
|
||||
package = "codediff-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
cterm_color = defaultNullOpts.mkStr null "Cterm color of the icon.";
|
||||
name = defaultNullOpts.mkStr null "Name to replace with icon.";
|
||||
};
|
||||
}) { } ''Custom overrides for icons.'';
|
||||
}) { } "Custom overrides for icons.";
|
||||
|
||||
defaultIcon = mkNullOrOption (lib.types.submodule {
|
||||
options = {
|
||||
|
|
@ -35,7 +35,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
color = defaultNullOpts.mkStr null "Color of the icon.";
|
||||
cterm_color = defaultNullOpts.mkStr null "Cterm color of the icon.";
|
||||
};
|
||||
}) ''Set the default icon when none is found.'';
|
||||
}) "Set the default icon when none is found.";
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
|
|
|
|||
8
plugins/by-name/yuck/default.nix
Normal file
8
plugins/by-name/yuck/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkVimPlugin {
|
||||
name = "yuck";
|
||||
package = "yuck-vim";
|
||||
globalPrefix = "yuck_";
|
||||
|
||||
maintainers = [ lib.maintainers.eveeifyeve ];
|
||||
}
|
||||
|
|
@ -548,35 +548,35 @@ in
|
|||
with cfg.pythonPackage.pkgs;
|
||||
{
|
||||
pylsp_mypy = pylsp-mypy.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "python-lsp-server >=1.7.0" ""
|
||||
'';
|
||||
});
|
||||
isort = pyls-isort.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'install_requires=["python-lsp-server", "isort"],' 'install_requires=["isort"],'
|
||||
'';
|
||||
});
|
||||
black = python-lsp-black.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "python-lsp-server>=1.4.0" ""
|
||||
'';
|
||||
});
|
||||
memestra = pyls-memestra.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
sed -i '/python-lsp-server/d' requirements.txt
|
||||
'';
|
||||
});
|
||||
rope = pylsp-rope.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
sed -i '/python-lsp-server/d' setup.cfg
|
||||
'';
|
||||
});
|
||||
ruff = python-lsp-ruff.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch or '''' + ''
|
||||
postPatch = old.postPatch or "" + ''
|
||||
sed -i '/python-lsp-server/d' pyproject.toml
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,12 @@ let
|
|||
};
|
||||
|
||||
disabledPackages = [
|
||||
# 2026-22-01 build failure
|
||||
"shopify"
|
||||
|
||||
# 2026-22-01 build failure
|
||||
"dmd"
|
||||
|
||||
# 2025-12-24: phpPackages.php-codesniffer is broken
|
||||
# https://github.com/NixOS/nixpkgs/pull/459254#issuecomment-3689578764
|
||||
"php-codesniffer"
|
||||
|
|
@ -105,6 +111,10 @@ let
|
|||
"wl-clipboard" # wayland
|
||||
]
|
||||
++ lib.optionals (hostPlatform.isDarwin && hostPlatform.isx86_64) [
|
||||
# 2026-01-23: dependency models-dev is broken
|
||||
"opencode"
|
||||
"opencode.nvim"
|
||||
|
||||
# 2025-12-24: build failure
|
||||
# I (@GaetanLepage) am able to build this package on my system, but it is not cached on
|
||||
# hydra.nixos.org and builbot fails at building it
|
||||
|
|
@ -143,6 +153,19 @@ let
|
|||
"zf"
|
||||
"zls"
|
||||
|
||||
# 2026-01-23: build failures on x86_64-darwin
|
||||
"arrow-cpp"
|
||||
"azurite"
|
||||
"basedpyright"
|
||||
"ccls"
|
||||
"dbee-bin"
|
||||
"gemini-cli"
|
||||
"github-copilot-cli"
|
||||
"nvim-dbee"
|
||||
"odin"
|
||||
"ols"
|
||||
"thrift"
|
||||
|
||||
# luau-lsp is marked as broken on x86_64-darwin
|
||||
"luau-lsp.nvim"
|
||||
]
|
||||
|
|
@ -158,12 +181,18 @@ let
|
|||
# 2025-10-20: dependency mlton build failure
|
||||
"smlfmt"
|
||||
|
||||
# 2026-01-23: build failure on aarch64-darwin
|
||||
"github-copilot-cli"
|
||||
|
||||
# As of 2025-07-25, zig-zlint is failing on aarch64-darwin
|
||||
"zig-zlint"
|
||||
|
||||
# 2025-09-08, build failure
|
||||
# https://github.com/NixOS/nixpkgs/pull/441058
|
||||
"verible"
|
||||
|
||||
# 2025-09-16 zig/zig-hook is marked as broken on x86_64-darwin; also fails on aarch64-darwin
|
||||
"zf"
|
||||
];
|
||||
|
||||
isEnabled = p: !(builtins.elem (lib.getName p) disabledPackages);
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ let
|
|||
};
|
||||
};
|
||||
};
|
||||
expected = ''{ a = { b = 1, c = 2, d = { e = 3 } } }'';
|
||||
expected = "{ a = { b = 1, c = 2, d = { e = 3 } } }";
|
||||
};
|
||||
|
||||
testToLuaObjectNestedList = {
|
||||
|
|
@ -133,7 +133,7 @@ let
|
|||
d = false;
|
||||
e = null;
|
||||
};
|
||||
expected = ''{ a = 1.0, b = 2, c = true, d = false }'';
|
||||
expected = "{ a = 1.0, b = 2, c = true, d = false }";
|
||||
};
|
||||
|
||||
testToLuaObjectNilPrim = {
|
||||
|
|
@ -175,7 +175,7 @@ let
|
|||
f = { };
|
||||
};
|
||||
};
|
||||
expected = ''{ }'';
|
||||
expected = "{ }";
|
||||
};
|
||||
|
||||
testToLuaObjectAttrListFilters = {
|
||||
|
|
@ -224,7 +224,7 @@ let
|
|||
]
|
||||
];
|
||||
};
|
||||
expected = ''{ { { }, { }, { { }, { } } }, g = { { }, { } } }'';
|
||||
expected = "{ { { }, { }, { { }, { } } }, g = { { }, { } } }";
|
||||
};
|
||||
|
||||
testToLuaObjectEmptyTable = {
|
||||
|
|
@ -240,7 +240,7 @@ let
|
|||
g = helpers.emptyTable;
|
||||
};
|
||||
};
|
||||
expected = ''{ c = { }, d = { g = { } } }'';
|
||||
expected = "{ c = { }, d = { g = { } } }";
|
||||
};
|
||||
|
||||
testToLuaObjectEmptyListEntries = {
|
||||
|
|
|
|||
|
|
@ -48,6 +48,9 @@ let
|
|||
# See https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig.lua
|
||||
"ruff_lsp"
|
||||
"typst_lsp"
|
||||
|
||||
# TODO: 2026-01-23 build failure
|
||||
"shopify_theme_ls"
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@
|
|||
prev_item = "[";
|
||||
};
|
||||
custom_actions = {
|
||||
open = ''function(target_file_name, current_file_name) end'';
|
||||
split_vertical = ''function(target_file_name, current_file_name) end'';
|
||||
split_horizontal = ''function(target_file_name, current_file_name) end'';
|
||||
open = "function(target_file_name, current_file_name) end";
|
||||
split_vertical = "function(target_file_name, current_file_name) end";
|
||||
split_horizontal = "function(target_file_name, current_file_name) end";
|
||||
};
|
||||
window = {
|
||||
width = "auto";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,19 @@
|
|||
|
||||
all-formatters =
|
||||
let
|
||||
allFormatters = lib.importJSON ../../../../../generated/conform-formatters.json;
|
||||
inherit
|
||||
(import ../../../../../plugins/by-name/conform-nvim/formatter-packages.nix { inherit pkgs; })
|
||||
formatter-packages
|
||||
states
|
||||
;
|
||||
stateList = map (state: lib.fix (lib.toFunction state)) (builtins.attrValues states);
|
||||
allFormatters = builtins.filter (
|
||||
name:
|
||||
let
|
||||
maybePackage = formatter-packages.${name} or null;
|
||||
in
|
||||
maybePackage != null && !builtins.elem maybePackage stateList
|
||||
) (lib.importJSON ../../../../../generated/conform-formatters.json);
|
||||
in
|
||||
{
|
||||
plugins.conform-nvim = {
|
||||
|
|
@ -83,7 +95,7 @@
|
|||
notify_no_formatters = false;
|
||||
formatters = {
|
||||
nixfmt = {
|
||||
command = lib.getExe pkgs.nixfmt-rfc-style;
|
||||
command = lib.getExe pkgs.nixfmt;
|
||||
};
|
||||
myFormatter = {
|
||||
command = "myCmd";
|
||||
|
|
|
|||
|
|
@ -25,42 +25,34 @@
|
|||
breakpoints = {
|
||||
keymap = "B";
|
||||
label = "Breakpoints [B]";
|
||||
short_label = " [B]";
|
||||
};
|
||||
scopes = {
|
||||
keymap = "S";
|
||||
label = "Scopes [S]";
|
||||
short_label = " [S]";
|
||||
};
|
||||
exceptions = {
|
||||
keymap = "E";
|
||||
label = "Exceptions [E]";
|
||||
short_label = " [E]";
|
||||
};
|
||||
watches = {
|
||||
keymap = "W";
|
||||
label = "Watches [W]";
|
||||
short_label = " [W]";
|
||||
};
|
||||
threads = {
|
||||
keymap = "T";
|
||||
label = "Threads [T]";
|
||||
short_label = " [T]";
|
||||
};
|
||||
repl = {
|
||||
keymap = "R";
|
||||
label = "REPL [R]";
|
||||
short_label = " [R]";
|
||||
};
|
||||
sessions = {
|
||||
keymap = "K";
|
||||
label = "Sessions [K]";
|
||||
short_label = " [K]";
|
||||
};
|
||||
console = {
|
||||
keymap = "C";
|
||||
label = "Console [C]";
|
||||
short_label = " [C]";
|
||||
};
|
||||
};
|
||||
custom_sections.__empty = { };
|
||||
|
|
@ -81,34 +73,60 @@
|
|||
};
|
||||
};
|
||||
windows = {
|
||||
height = 0.25;
|
||||
size = 0.25;
|
||||
position = "below";
|
||||
terminal = {
|
||||
width = 0.5;
|
||||
size = 0.5;
|
||||
position = "left";
|
||||
hide.__empty = { };
|
||||
start_hidden = false;
|
||||
};
|
||||
};
|
||||
icons = {
|
||||
disabled = "";
|
||||
disconnect = "";
|
||||
enabled = "";
|
||||
disabled = "";
|
||||
disconnect = "";
|
||||
enabled = "";
|
||||
filter = "";
|
||||
negate = " ";
|
||||
pause = "";
|
||||
play = "";
|
||||
run_last = "";
|
||||
step_back = "";
|
||||
step_into = "";
|
||||
step_out = "";
|
||||
step_over = "";
|
||||
terminate = "";
|
||||
negate = " ";
|
||||
pause = "";
|
||||
play = "";
|
||||
run_last = "";
|
||||
step_back = "";
|
||||
step_into = "";
|
||||
step_out = "";
|
||||
step_over = "";
|
||||
terminate = "";
|
||||
};
|
||||
help = {
|
||||
border.__raw = "nil";
|
||||
};
|
||||
switchbuf = "usetab";
|
||||
render = {
|
||||
sort_variables.__raw = "nil";
|
||||
threads = {
|
||||
format.__raw = ''
|
||||
function(name, lnum, path)
|
||||
return {
|
||||
{ part = name, separator = " " },
|
||||
{ part = path, hl = "FileName", separator = ":" },
|
||||
{ part = lnum, hl = "LineNumber" },
|
||||
}
|
||||
end
|
||||
'';
|
||||
align = false;
|
||||
};
|
||||
breakpoints = {
|
||||
format.__raw = ''
|
||||
function(line, lnum, path)
|
||||
return {
|
||||
{ part = path, hl = "FileName" },
|
||||
{ part = lnum, hl = "LineNumber" },
|
||||
{ part = line, hl = true },
|
||||
}
|
||||
end
|
||||
'';
|
||||
align = false;
|
||||
};
|
||||
};
|
||||
switchbuf = "usetab,uselast";
|
||||
auto_toggle = false;
|
||||
follow_tab = false;
|
||||
};
|
||||
|
|
@ -126,7 +144,6 @@
|
|||
};
|
||||
windows.terminal = {
|
||||
position = "right";
|
||||
start_hidden = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@
|
|||
];
|
||||
|
||||
brokenTools = [
|
||||
# TODO: 2026-01-23: dmd build failure with gcc 15 (nullptr identifier)
|
||||
"dfmt"
|
||||
"dmd"
|
||||
|
||||
# 2025-12-24: phpPackages.php-codesniffer is broken
|
||||
# https://github.com/NixOS/nixpkgs/pull/459254#issuecomment-3689578764
|
||||
"phpcbf"
|
||||
|
|
|
|||
|
|
@ -37,31 +37,31 @@
|
|||
};
|
||||
mappings = {
|
||||
list = {
|
||||
"j".__raw = ''require('glance').actions.next'';
|
||||
"k".__raw = ''require('glance').actions.previous'';
|
||||
"<Down>".__raw = ''require('glance').actions.next'';
|
||||
"<Up>".__raw = ''require('glance').actions.previous'';
|
||||
"<Tab>".__raw = ''require('glance').actions.next_location'';
|
||||
"<S-Tab>".__raw = ''require('glance').actions.previous_location'';
|
||||
"<C-u>".__raw = ''require('glance').actions.preview_scroll_win(5)'';
|
||||
"<C-d>".__raw = ''require('glance').actions.preview_scroll_win(-5)'';
|
||||
"v".__raw = ''require('glance').actions.jump_vsplit'';
|
||||
"s".__raw = ''require('glance').actions.jump_split'';
|
||||
"t".__raw = ''require('glance').actions.jump_tab'';
|
||||
"<CR>".__raw = ''require('glance').actions.jump'';
|
||||
"o".__raw = ''require('glance').actions.jump'';
|
||||
"l".__raw = ''require('glance').actions.open_fold'';
|
||||
"h".__raw = ''require('glance').actions.close_fold'';
|
||||
"j".__raw = "require('glance').actions.next";
|
||||
"k".__raw = "require('glance').actions.previous";
|
||||
"<Down>".__raw = "require('glance').actions.next";
|
||||
"<Up>".__raw = "require('glance').actions.previous";
|
||||
"<Tab>".__raw = "require('glance').actions.next_location";
|
||||
"<S-Tab>".__raw = "require('glance').actions.previous_location";
|
||||
"<C-u>".__raw = "require('glance').actions.preview_scroll_win(5)";
|
||||
"<C-d>".__raw = "require('glance').actions.preview_scroll_win(-5)";
|
||||
"v".__raw = "require('glance').actions.jump_vsplit";
|
||||
"s".__raw = "require('glance').actions.jump_split";
|
||||
"t".__raw = "require('glance').actions.jump_tab";
|
||||
"<CR>".__raw = "require('glance').actions.jump";
|
||||
"o".__raw = "require('glance').actions.jump";
|
||||
"l".__raw = "require('glance').actions.open_fold";
|
||||
"h".__raw = "require('glance').actions.close_fold";
|
||||
"<leader>l".__raw = ''require('glance').actions.enter_win("preview")'';
|
||||
"q".__raw = ''require('glance').actions.close'';
|
||||
"Q".__raw = ''require('glance').actions.close'';
|
||||
"<Esc>".__raw = ''require('glance').actions.close'';
|
||||
"<C-q>".__raw = ''require('glance').actions.quickfix'';
|
||||
"q".__raw = "require('glance').actions.close";
|
||||
"Q".__raw = "require('glance').actions.close";
|
||||
"<Esc>".__raw = "require('glance').actions.close";
|
||||
"<C-q>".__raw = "require('glance').actions.quickfix";
|
||||
};
|
||||
preview = {
|
||||
"Q".__raw = ''require('glance').actions.close'';
|
||||
"<Tab>".__raw = ''require('glance').actions.next_location'';
|
||||
"<S-Tab>".__raw = ''require('glance').actions.previous_location'';
|
||||
"Q".__raw = "require('glance').actions.close";
|
||||
"<Tab>".__raw = "require('glance').actions.next_location";
|
||||
"<S-Tab>".__raw = "require('glance').actions.previous_location";
|
||||
"<leader>l".__raw = ''require('glance').actions.enter_win("list")'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@
|
|||
placeholders = {
|
||||
enabled = true;
|
||||
search = "ex: foo foo([a-z0-9]*) fun\\(";
|
||||
replacement = ''ex: bar $${1}_foo $$MY_ENV_VAR'';
|
||||
replacement = "ex: bar $${1}_foo $$MY_ENV_VAR";
|
||||
replacement_lua = ''ex: if vim.startsWith(match; "use") \\n then return "employ" .. match \\n else return match end'';
|
||||
filesFilter = ''ex: *.lua *.{css;js} **/docs/*.md (specify one per line)'';
|
||||
filesFilter = "ex: *.lua *.{css;js} **/docs/*.md (specify one per line)";
|
||||
flags = "ex: --help --ignore-case (-i) --replace= (empty replace) --multiline (-U)";
|
||||
paths = "ex: /foo/bar ../ ./hello\\ world/ ./src/foo.lua ~/.config";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,15 @@
|
|||
{
|
||||
empty = {
|
||||
# TODO: upstream needs update to support nvim-treesitter-textobjects namespace:
|
||||
# local ts_repeat_move = require "nvim-treesitter-textobjects.repeatable_move"
|
||||
test.runNvim = false;
|
||||
plugins.indent-tools.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
# TODO: upstream needs update to support nvim-treesitter-textobjects namespace:
|
||||
# local ts_repeat_move = require "nvim-treesitter-textobjects.repeatable_move"
|
||||
test.runNvim = false;
|
||||
plugins.indent-tools = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -22,6 +28,9 @@
|
|||
};
|
||||
|
||||
example = {
|
||||
# TODO: upstream needs update to support nvim-treesitter-textobjects namespace:
|
||||
# local ts_repeat_move = require "nvim-treesitter-textobjects.repeatable_move"
|
||||
test.runNvim = false;
|
||||
plugins.indent-tools = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
colorscheme = "default";
|
||||
component_function.__raw = "nil";
|
||||
component = {
|
||||
mode = ''%{lightline#mode()}'';
|
||||
mode = "%{lightline#mode()}";
|
||||
absolutepath = "%F";
|
||||
relativepath = "%f";
|
||||
filename = "%t";
|
||||
|
|
@ -22,16 +22,16 @@
|
|||
charvalue = "%b";
|
||||
charvaluehex = "%B";
|
||||
fileencoding = ''%{&fenc!=#""?&fenc:&enc}'';
|
||||
fileformat = ''%{&ff}'';
|
||||
fileformat = "%{&ff}";
|
||||
filetype = ''%{&ft!=#""?&ft:"no ft"}'';
|
||||
percent = "%3p%%";
|
||||
percentwin = "%P";
|
||||
spell = ''%{&spell?&spelllang:""}'';
|
||||
lineinfo = ''%3l=%-2c'';
|
||||
lineinfo = "%3l=%-2c";
|
||||
line = "%l";
|
||||
column = "%c";
|
||||
close = "%999X X ";
|
||||
winnr = ''%{winnr()}'';
|
||||
winnr = "%{winnr()}";
|
||||
};
|
||||
active = {
|
||||
left = [
|
||||
|
|
|
|||
|
|
@ -8,7 +8,10 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
useLspFoldsWithTreesitterFallback = true;
|
||||
useLspFoldsWithTreesitterFallback = {
|
||||
enabled = true;
|
||||
foldmethodIfNeitherIsAvailable = "indent";
|
||||
};
|
||||
pauseFoldsOnSearch = true;
|
||||
foldtext = {
|
||||
enabled = true;
|
||||
|
|
@ -29,7 +32,7 @@
|
|||
};
|
||||
foldKeymaps = {
|
||||
setup = true;
|
||||
hOnlyOpensOnFirstColumn = false;
|
||||
closeOnlyOnFirstColumn = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
enable = true;
|
||||
timeout = 750;
|
||||
};
|
||||
_log_level.__raw = ''vim.log.levels.WARN'';
|
||||
_log_level.__raw = "vim.log.levels.WARN";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
return nil
|
||||
end
|
||||
'';
|
||||
capabilities.__raw = ''vim.lsp.protocol.make_client_capabilities()'';
|
||||
capabilities.__raw = "vim.lsp.protocol.make_client_capabilities()";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,14 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
package = pkgs.vimPlugins.nvim-treesitter-legacy;
|
||||
};
|
||||
treesitter-refactor.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
package = pkgs.vimPlugins.nvim-treesitter-legacy;
|
||||
};
|
||||
treesitter-refactor = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
notify_user_on_venv_activation = false;
|
||||
search_timeout = 5;
|
||||
debug = false;
|
||||
fd_binary_name = lib.nixvim.mkRaw "require('venv-selector.config').find_fd_command_name()";
|
||||
require_lsp_activation = true;
|
||||
on_telescope_result_callback.__raw = "nil";
|
||||
picker_filter_type = "substring";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,15 @@
|
|||
{
|
||||
empty = {
|
||||
# TODO: re-enable after next flake lock update (nixpkgs PR #482779)
|
||||
# Plugin tries to download libgomp from GitHub during setup
|
||||
test.runNvim = false;
|
||||
plugins.vscode-diff.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
# TODO: re-enable after next flake lock update (nixpkgs PR #482779)
|
||||
# Plugin tries to download libgomp from GitHub during setup
|
||||
test.runNvim = false;
|
||||
plugins.vscode-diff = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -32,6 +38,9 @@
|
|||
};
|
||||
|
||||
example = {
|
||||
# TODO: re-enable after next flake lock update (nixpkgs PR #482779)
|
||||
# Plugin tries to download libgomp from GitHub during setup
|
||||
test.runNvim = false;
|
||||
plugins.vscode-diff = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
5
tests/test-sources/plugins/by-name/yuck/default.nix
Normal file
5
tests/test-sources/plugins/by-name/yuck/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.yuck.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -74,12 +74,9 @@ in
|
|||
dial-nvim
|
||||
vimtex
|
||||
telescope-nvim
|
||||
nvim-biscuits
|
||||
crates-nvim
|
||||
]);
|
||||
|
||||
plugins.treesitter.enable = true;
|
||||
|
||||
plugins.lz-n = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
|
|
@ -130,16 +127,6 @@ in
|
|||
end
|
||||
'';
|
||||
}
|
||||
# On event
|
||||
{
|
||||
__unkeyed-1 = "nvim-biscuits";
|
||||
event.__raw = "{ 'BufEnter *.lua' }";
|
||||
after.__raw = ''
|
||||
function()
|
||||
require('nvim-biscuits').setup({})
|
||||
end
|
||||
'';
|
||||
}
|
||||
# On command no setup function, priority
|
||||
{
|
||||
__unkeyed-1 = "telescope.nvim";
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
# DO NOT MODIFY!
|
||||
# This file was generated by ci/version-info/default.nix
|
||||
nixpkgs_rev = "346dd96ad74dc4457a9db9de4f4f57dab2e5731d"
|
||||
nixpkgs_rev = "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0"
|
||||
release = "26.05"
|
||||
unstable = true
|
||||
|
||||
[versions."25.05"]
|
||||
branch = "nixos-25.05"
|
||||
channel = "nixos-25.05"
|
||||
status = "deprecated"
|
||||
|
||||
[versions."25.11"]
|
||||
branch = "nixos-25.11"
|
||||
channel = "nixos-25.11"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue