1
0
Fork 0

Update deps

This commit is contained in:
Daniel Kempkens 2023-01-12 10:59:15 +01:00
parent 4038101664
commit e0a4aee062
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 39 additions and 38 deletions

View file

@ -140,11 +140,11 @@
},
"locked": {
"dir": "contrib",
"lastModified": 1673401931,
"narHash": "sha256-wt0AcvtyWSyk6HxANH3iO0ztzzAO0jxHkF6tk2nY1jg=",
"lastModified": 1673504032,
"narHash": "sha256-x4nv7g8+bQXg5PfkFw3vCcr3pYI0Hco0VoSbAy60xek=",
"owner": "neovim",
"repo": "neovim",
"rev": "93d99aefd314bc4abfc54c0c29a4de84b6fcc823",
"rev": "143d3f1f3224bca02bfef7df0932b9d7524a3ff2",
"type": "github"
},
"original": {
@ -161,11 +161,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1673424920,
"narHash": "sha256-obfKkavXH9CWLTJaJ8bPJ6AZdbE24+cIeBbQjzuSHv0=",
"lastModified": 1673511313,
"narHash": "sha256-QGUT3w1bHclVRqX958EPOd3OxR/R10MoV97N5jx/qbw=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "15813daffca93531243cf00ba57963e8d3df4129",
"rev": "5af6fe31f9906e70a1e8985dbbdcc4ae66c7f82d",
"type": "github"
},
"original": {
@ -181,11 +181,11 @@
]
},
"locked": {
"lastModified": 1673425540,
"narHash": "sha256-hVcebzRpFHB3lu717sDVUvr6ZtvfQOJh7GdduhK1Kvs=",
"lastModified": 1673511969,
"narHash": "sha256-k83FCxV53cfQkkz/zxMzZmoI7W5d6z4NfiDQUqxVOqg=",
"owner": "nifoc",
"repo": "nix-overlay",
"rev": "e1f1f635b6986a7192a78d83ba7bfdce8ef43e49",
"rev": "3cb2f81c7617677a963f3d10ef7b5ed0be747a24",
"type": "github"
},
"original": {
@ -212,11 +212,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1673363027,
"narHash": "sha256-nuPLEsEUvERI+gwmqknerUVHhdzDiZHKZ18Ibkvo7VQ=",
"lastModified": 1673466167,
"narHash": "sha256-1HzUCtWwHRGzTOHCIKGG0lVL6wvsyPSSyBuIqZWYowc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d3b4150929d4fed7eb626695c4f78881cfcbeb9e",
"rev": "68e03abb2fd8db50eaee69ad58b208451143e005",
"type": "github"
},
"original": {

View file

@ -15,25 +15,26 @@
;; Signs
(set mod.signs {:provider "%s" :hl {:bold true}})
;; gitsigns
(set mod.gitsigns {:condition #(= vim.b.nifoc_gitsigns_enabled 1)
:init (fn [self]
(let [bufnr (api.nvim_get_current_buf)
lnum vim.v.lnum
sign (?. (vim.fn.sign_getplaced bufnr
{:group :gitsigns_vimfn_signs_
:id lnum
: lnum})
1 :signs 1)]
(set self.sign sign)
(set self.has_sign (not= sign nil))))
:provider #(if $1.has_sign " ▎" " ")
:hl #(when $1.has_sign
$1.sign.name)})
(set mod.gitsigns-or-space [{:condition #(or (o.number:get)
(o.relativenumber:get))
:provider #(if (= vim.b.nifoc_gitsigns_enabled 1)
"" " ")}
mod.gitsigns])
(set mod.gitsigns
{:condition #(= vim.b.nifoc_gitsigns_enabled 1)
:init (fn [self]
(let [bufnr (api.nvim_get_current_buf)
lnum vim.v.lnum
sign (?. (vim.fn.sign_getplaced bufnr
{:group :gitsigns_vimfn_signs_
:id lnum
: lnum})
1 :signs 1)]
(set self.sign sign)
(set self.has_sign (not= sign nil))))
:provider " │"
:hl #(if $1.has_sign $1.sign.name :StatusLineNC)})
(set mod.gitsigns-or-bar [{:condition #(or (o.number:get)
(o.relativenumber:get))
:provider #(if (= vim.b.nifoc_gitsigns_enabled 1)
"" " │")
:hl :StatusLineNC}
mod.gitsigns])
;; Diagnostic signs
(set mod.diagnostic-signs
{:condition #(= vim.b.nifoc_diagnostics_enabled 1)

View file

@ -40,7 +40,7 @@
(utils.make_buflist nt.buffer-block nt.truncate-left
nt.truncate-right)
nt.tabpages-block])
(local statuscolumn [nc.diagnostic-signs nc.line-number nc.gitsigns-or-space])
(local statuscolumn [nc.diagnostic-signs nc.line-number nc.gitsigns-or-bar])
;; Load Lines
(set vim.opt.laststatus 3)
(set vim.opt.showtabline 2)

View file

@ -112,12 +112,12 @@ rec {
};
};
nvim-treesitter = pkgs.vimPlugins.nvim-treesitter.overrideAttrs (_: {
version = "2023-01-11";
version = "2023-01-12";
src = pkgs.fetchFromGitHub {
owner = "nvim-treesitter";
repo = "nvim-treesitter";
rev = "1298d9ba3ba78cf6bba3810e47e5d2d568f33614";
sha256 = "1yfx0rkypan9fnpsq0q9fzvll17hvy7akbzmgbkacqp39chi11ym";
rev = "11a88fba9d6501f01cb662ce7d4e4f055be6c296";
sha256 = "0fs0c50yf90c64rc98z2qc8dp2s9w4lm8k5wjcy8dpcx62mr68c5";
fetchSubmodules = false;
};
});
@ -588,12 +588,12 @@ rec {
};
noice-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "noice.nvim";
version = "2023-01-10";
version = "2023-01-11";
src = pkgs.fetchFromGitHub {
owner = "folke";
repo = "noice.nvim";
rev = "2613a16b5009acbf2adabb34b029b1c4c57101e3";
sha256 = "01yx1pk7xliaadmrhrg83zm3rcilhkm79anwfr7kr9qjiz900c44";
rev = "36eabb66be53c6ed20c712a7820f0edaa0c00bb8";
sha256 = "1xfn4iqrv61dpsr3yh2ic69kbz60qw6689dfbxjq34rf1pakkabx";
fetchSubmodules = false;
};
};