mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:50:05 +08:00
Add mode config
This commit is contained in:
parent
70c465086e
commit
c789d6ed03
@ -31,12 +31,16 @@ function! SpaceVim#custom#autoconfig(...) abort
|
||||
endfunction
|
||||
|
||||
function! s:awesome_mode() abort
|
||||
let config = []
|
||||
let sep = SpaceVim#api#import('file').separator
|
||||
let f = fnamemodify(g:Config_Main_Home, ':h') . join(['', 'mode', 'dark_powered.vim'], sep)
|
||||
let config = readfile(f, '')
|
||||
call s:write_to_config(config)
|
||||
endfunction
|
||||
|
||||
function! s:basic_mode() abort
|
||||
let config = []
|
||||
let sep = SpaceVim#api#import('file').separator
|
||||
let f = fnamemodify(g:Config_Main_Home, ':h') . join(['', 'mode', 'basic.vim'], sep)
|
||||
let config = readfile(f, '')
|
||||
call s:write_to_config(config)
|
||||
endfunction
|
||||
|
||||
|
3
mode/basic.vim
Normal file
3
mode/basic.vim
Normal file
@ -0,0 +1,3 @@
|
||||
" Basic mode of SpaceVim, generated by SpaceVim automatically.
|
||||
|
||||
|
2
mode/dark_powered.vim
Normal file
2
mode/dark_powered.vim
Normal file
@ -0,0 +1,2 @@
|
||||
" Dark powered mode of SpaceVim, generated by SpaceVim automatically.
|
||||
|
Loading…
Reference in New Issue
Block a user