This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/key/Update.lua

6 lines
166 B
Lua

-- Update all command.
vim.api.nvim_create_user_command("Update", function (args)
vim.cmd("PackerUpdate")
vim.cmd("TSUpdate")
end, { desc = "Update everything." })