mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:20:05 +08:00
fix(tasks): use vim.tbl_extend
instead
This commit is contained in:
parent
a1a3b5b817
commit
87d8ad1fd9
@ -42,7 +42,7 @@ local function load()
|
||||
local_conf = toml.parse_file(vim.fn.expand('.SpaceVim.d/tasks.toml'))
|
||||
log.debug('found local conf:\n' .. vim.inspect(local_conf))
|
||||
end
|
||||
task_config = vim.fn.extend(global_conf, local_conf)
|
||||
task_config = vim.tbl_extend('force', global_conf, local_conf)
|
||||
end
|
||||
|
||||
local function init_variables()
|
||||
|
@ -1,4 +1,4 @@
|
||||
Execute ( SpaceVim plugin: code runner ):
|
||||
Execute ( SpaceVim plugin: task manager ):
|
||||
call SpaceVim#plugins#tasks#list()
|
||||
exe "normal! /regexp\<cr>"
|
||||
exe "normal \<cr>"
|
||||
|
Loading…
Reference in New Issue
Block a user