Nvim fixes #97

Merged
jalil merged 3 commits from fix-nvim into main 2024-10-06 00:35:59 +02:00
3 changed files with 6 additions and 7 deletions

View file

@ -10,12 +10,12 @@
final: prev: { final: prev: {
nvim-silicon = buildVimPlugin { nvim-silicon = buildVimPlugin {
pname = "nvim-silicon"; pname = "nvim-silicon";
version = "2024-07-30"; version = "2024-08-31";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michaelrommel"; owner = "michaelrommel";
repo = "nvim-silicon"; repo = "nvim-silicon";
rev = "feb882f04c992b797daa118101a239fb3bedfc04"; rev = "9fe6001dc8cad4d9c53bcfc8649e3dc76ffa169c";
sha256 = "03dy4q2dbgiyydi9wvpij6s2aggdpr3lgd9cqqv0i2m1m0qb9gad"; sha256 = "1qczi06yndkr2pmwidlkgmk0395x189sznvscn4fnr96jx58j5yl";
}; };
meta.homepage = "https://github.com/michaelrommel/nvim-silicon/"; meta.homepage = "https://github.com/michaelrommel/nvim-silicon/";
}; };

View file

@ -205,6 +205,7 @@ in
mode = "symbol"; mode = "symbol";
extraOptions.maxwidth = 50; extraOptions.maxwidth = 50;
}; };
lsp-lines.enable = true;
lualine = { lualine = {
enable = true; enable = true;
settings.options.theme = lib.mkForce "gruvbox"; settings.options.theme = lib.mkForce "gruvbox";

View file

@ -53,13 +53,11 @@
]; ];
# Formatting & linters # Formatting & linters
extraPackages = [ extraPackages = [
# Rust 1.80.0 broke it, waiting for https://github.com/Aloxaf/silicon/pull/254 to be accepted
pkgs.silicon
pkgs.unstable.alejandra
pkgs.unstable.luajitPackages.jsregexp pkgs.unstable.luajitPackages.jsregexp
pkgs.unstable.shfmt
pkgs.unstable.silicon
pkgs.unstable.statix pkgs.unstable.statix
pkgs.unstable.stylua pkgs.unstable.stylua
pkgs.unstable.shfmt
pkgs.unstable.taplo pkgs.unstable.taplo
pkgs.unstable.typos pkgs.unstable.typos
pkgs.unstable.yamlfmt pkgs.unstable.yamlfmt