Skip to content

Commit

Permalink
chore: update flake.lock and justfile, add foldlevel setting in vim.lua
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
erikreinert committed Jul 13, 2024
1 parent 8abe12d commit 4a27a78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions lua/TheAltF4Stream/vim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end
local function set_vim_wo()
local settings = {
foldexpr = 'nvim_treesitter#foldexpr()',
foldlevel = 99,
foldmethod = 'expr',
number = true,
relativenumber = true,
Expand Down

0 comments on commit 4a27a78

Please sign in to comment.