Compare commits

...

16 commits

Author SHA1 Message Date
raf
f1ac8512de
Merge branch 'main' into otter-update 2025-07-19 01:38:10 +03:00
raf
f8e8fa646b
Merge pull request #1016 from imnotpoz/isnull
treewide: remove deprecated `isNull`
2025-07-19 01:33:23 +03:00
poz
5592bcff64
treewide: remove deprecated isNull 2025-07-19 00:08:43 +02:00
Soliprem
1f311240b5
Merge pull request #1015 from thecakeisfalse/typo
docs: fixed typo
2025-07-18 19:33:28 +02:00
Semyon
dd815ece18 fixed typo
docs: `diagostics` -> `diagnostics`
2025-07-18 20:27:01 +03:00
raf
6b841d4b97
Merge pull request #1014 from midischwarz12/uv
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 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
treewide: `vim.loop` -> `vim.uv`
2025-07-18 00:22:21 +03:00
midischwarz12
47dcff9d56 feat: vim.loop -> vim.uv 2025-07-17 10:43:55 -05:00
raf
9b11e6e938
Merge pull request #1012 from rrvsh/fix/luasnip-nvim-cmp
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 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
fix(snippets/luasnip): enable vscode snippet loader
2025-07-17 16:34:15 +03:00
Mohammad Rafiq
0d394c9db0
fix(snippets/luasnip): enable vscode snippet loader
nvim-cmp and friendly-snippets depend on the vscode
luasnip loader. previously we only set snipmate
2025-07-17 17:56:37 +08:00
raf
fe874acd37
Merge pull request #915 from Soliprem/neorg-fix
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 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
languagaes/neorg: fix grammar packages
2025-07-16 20:37:39 +03:00
Francesco Prem Solidoro
e20d673d6e docs/rl-0.8: add neorg fix entry 2025-07-16 19:32:58 +02:00
Francesco Prem Solidoro
4e0e8206c3 notes/neorg: fix formatting 2025-07-16 16:47:49 +02:00
Francesco Prem Solidoro
28f4237e4f notes/norg: fix broken grammars and add norg-meta 2025-07-16 16:43:50 +02:00
Soliprem
08bbe92532
Merge pull request #1010 from lackac/upgrade-avante
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 hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
avante-nvim: upgrade plugin
2025-07-16 15:31:00 +02:00
Laszlo Bacsi
fae1e527fc
avante-nvim: useFetchCargoVendor now defaults to true in unstable 2025-07-16 12:02:52 +02:00
Laszlo Bacsi
43d54f77f5
avante-nvim: upgrade plugin 2025-07-16 09:40:06 +02:00
11 changed files with 26 additions and 16 deletions

View file

@ -463,3 +463,6 @@
leverage the pattern introduced in commit [fc8206e7a61d ("flake: utilize
nix-systems for overridable flake systems")](
https://github.com/NotAShelf/nvf/commit/fc8206e7a61d7eb02006f9010e62ebdb3336d0d2).
[soliprem](https://github.com/soliprem):
- fix broken `neorg` grammars

View file

@ -15,8 +15,7 @@
pname = "avante-nvim-lib";
inherit version src;
useFetchCargoVendor = true;
cargoHash = "sha256-pmnMoNdaIR0i+4kwW3cf01vDQo39QakTCEG9AXA86ck=";
cargoHash = "sha256-8mBpzndz34RrmhJYezd4hLrJyhVL4S4IHK3plaue1k8=";
nativeBuildInputs = [
pkg-config

View file

@ -88,7 +88,7 @@
in {
options.vim = {
diagnostics = {
enable = mkEnableOption "diagostics module for Neovim";
enable = mkEnableOption "diagnostics module for Neovim";
config = mkOption {
type = diagnosticsSubmodule;
default = {};

View file

@ -35,7 +35,7 @@ in {
(mkIf cfg.treesitter.enable {
vim.treesitter.enable = true;
vim.treesitter.grammars = [cfg.treesitter.norgPackage];
vim.treesitter.grammars = [cfg.treesitter.norgPackage cfg.treesitter.norgMetaPackage];
})
]);
}

View file

@ -4,9 +4,9 @@
pkgs,
...
}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.options) mkPackageOption mkEnableOption mkOption;
inherit (lib.types) submodule listOf str;
inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.notes.neorg = {
enable = mkEnableOption ''
@ -44,7 +44,12 @@ in {
treesitter = {
enable = mkEnableOption "Neorg treesitter" // {default = config.vim.languages.enableTreesitter;};
norgPackage = mkGrammarOption pkgs "norg";
norgPackage = mkPackageOption pkgs ["norg-meta treesitter"] {
default = ["tree-sitter-grammars" "tree-sitter-norg"];
};
norgMetaPackage = mkPackageOption pkgs ["norg-meta treesitter"] {
default = ["tree-sitter-grammars" "tree-sitter-norg-meta"];
};
};
};
}

View file

@ -65,6 +65,9 @@ in {
${optionalString (
cfg.customSnippets.snipmate != {}
) "require('luasnip.loaders.from_snipmate').lazy_load()"}
${optionalString (
config.vim.autocomplete.nvim-cmp.enable || config.vim.autocomplete.blink-cmp.friendly-snippets.enable
) "require('luasnip.loaders.from_vscode').lazy_load()"}
'';
};
};

View file

@ -246,10 +246,10 @@ in {
transparent = {
enabled = ${boolToString transparent},
},
${optionalString (!isNull palette) ''palette = "${palette}",''}
${optionalString (!isNull variant) ''variant = "${variant}",''}
${optionalString (palette != null) ''palette = "${palette}",''}
${optionalString (variant != null) ''variant = "${variant}",''}
}
${optionalString (!isNull background) ''vim.opt.background = "${background}"''}
${optionalString (background != null) ''vim.opt.background = "${background}"''}
vim.cmd.colorscheme "solarized"
'';
styles = let

View file

@ -106,7 +106,7 @@ in {
-- Disable slow treesitter highlight for large files
function(lang, buf)
local max_filesize = 1000 * 1024 -- 1MB
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
local ok, stats = pcall(vim.uv.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end

View file

@ -10,7 +10,7 @@
inherit (lib.nvim.dag) entryAnywhere;
cfg = config.vim.binds.whichKey;
register = mapAttrsToList (n: v: lib.lists.optional (! isNull v) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
register = mapAttrsToList (n: v: lib.lists.optional (v != null) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
in {
config = mkIf cfg.enable {
vim = {

View file

@ -39,7 +39,7 @@ in {
type = luaInline;
default = mkLuaInline ''
function()
return vim.loop.cwd()
return vim.uv.cwd()
end
'';
description = ''

View file

@ -35,9 +35,9 @@
},
"branch": "main",
"submodules": false,
"revision": "2dd4c040880b271861369b361489a2d418d42648",
"url": "https://github.com/yetone/avante.nvim/archive/2dd4c040880b271861369b361489a2d418d42648.tar.gz",
"hash": "01j92m0qhd5g6m92rp0qnr4vqqgfrhbx91jbrrcjj1npizynxjm1"
"revision": "154e5f578f8925135a9dd23764d4c33a10c7ae36",
"url": "https://github.com/yetone/avante.nvim/archive/154e5f578f8925135a9dd23764d4c33a10c7ae36.tar.gz",
"hash": "0hx5ccfkn7ljnprzl6qwvb9ba86zrkqysh18zvnaq360g95d4ca1"
},
"base16": {
"type": "Git",