From 4a27a78661c4c7edd1c09b22a8d6d131a74b67c4 Mon Sep 17 00:00:00 2001 From: Erik Reinert <4638629+erikreinert@users.noreply.github.com> Date: Sat, 13 Jul 2024 11:45:37 -0700 Subject: [PATCH] chore: update flake.lock and justfile, add foldlevel setting in vim.lua - Updated `flake.lock` with new `nixpkgs` revision and hash. - Modified `justfile`: - Renamed `build` to `package` and added `__default` target to list available recipes. - Added `foldlevel` setting to `set_vim_wo` function in `vim.lua` to set fold level to 99. --- flake.lock | 6 +++--- justfile | 7 +++++-- lua/TheAltF4Stream/vim.lua | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index e9e6474..0daa120 100644 --- a/flake.lock +++ b/flake.lock @@ -37,11 +37,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1720031269, - "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", + "lastModified": 1720768451, + "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6", + "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", "type": "github" }, "original": { diff --git a/justfile b/justfile index 177e0e0..afe1711 100644 --- a/justfile +++ b/justfile @@ -1,8 +1,11 @@ -build profile="default": - nix build --json --no-link --print-build-logs ".#{{ profile }}" +__default: + just --list check: nix flake check +package profile="default": + nix build --json --no-link --print-build-logs ".#{{ profile }}" + update: nix flake update diff --git a/lua/TheAltF4Stream/vim.lua b/lua/TheAltF4Stream/vim.lua index dec0641..cc18f96 100644 --- a/lua/TheAltF4Stream/vim.lua +++ b/lua/TheAltF4Stream/vim.lua @@ -24,6 +24,7 @@ end local function set_vim_wo() local settings = { foldexpr = 'nvim_treesitter#foldexpr()', + foldlevel = 99, foldmethod = 'expr', number = true, relativenumber = true,