Skip to content

Commit

Permalink
Script to update nvim packages
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Dec 31, 2024
1 parent 8a6d04f commit 0ea63dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ def get-cheatsheets [] {
| sort
}

# https://github.com/folke/lazy.nvim/discussions/1034#discussioncomment-7034355
export def update-nvim-packages [] {
^nvim --headless "+Lazy! sync" +qa
}

export def format [] {
^~/.local/share/nvim/mason/bin/stylua --verify . # Lua
}

0 comments on commit 0ea63dc

Please sign in to comment.