summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/commands.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:24:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:24:43 +0100
commita3690ed8ca90823787fbaddb72f0a1874f1e999d (patch)
tree1b79521fdf10c133aa643e6b2e46522ab6b79097 /.config/nvim/lua/core/commands.lua
parente953e2ee53503dcf070a7763743e4a76abb4518d (diff)
Add lunarvim update to lsp/general
Diffstat (limited to '.config/nvim/lua/core/commands.lua')
-rw-r--r--.config/nvim/lua/core/commands.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/core/commands.lua b/.config/nvim/lua/core/commands.lua
index ce635ad..bb22dea 100644
--- a/.config/nvim/lua/core/commands.lua
+++ b/.config/nvim/lua/core/commands.lua
@@ -16,6 +16,7 @@ M.defaults = {
[[ command! NvimUpdate lua require('bootstrap').update() ]],
[[ command! NvimSyncCorePlugins lua require('plugin-loader'):sync_core_plugins() ]],
[[ command! NvimReload lua require('config'):reload() ]],
+ [[ command! NvimToggleFormatOnSave lua require('core.autocmds').toggle_format_on_save() ]],
}
M.load = function(commands)