mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:10:05 +08:00
22 lines
570 B
Lua
22 lines
570 B
Lua
|
--=============================================================================
|
||
|
-- command.lua --- Commands for spacevim
|
||
|
-- Copyright (c) 2016-2022 Wang Shidong & Contributors
|
||
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||
|
-- URL: https://spacevim.org
|
||
|
-- License: GPLv3
|
||
|
--=============================================================================
|
||
|
|
||
|
local M = {}
|
||
|
|
||
|
local command = require('spacevim.api').import('vim.command')
|
||
|
|
||
|
function M.init()
|
||
|
command.defined({
|
||
|
name = 'SPUpdate',
|
||
|
vim_function = 'SpaceVim#plugins#update'
|
||
|
})
|
||
|
|
||
|
end
|
||
|
|
||
|
return M
|