feat(vim): add lus support
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
func! myspacevim#before() abort
|
||||
lua << EOF
|
||||
local c = require('custom')
|
||||
lcustom.init()
|
||||
EOF
|
||||
|
||||
function! myspacevim#before() abort
|
||||
set wrap
|
||||
"设置折叠方式
|
||||
set foldmethod=indent
|
||||
" 打开文件默认不折叠
|
||||
set foldlevelstart=99
|
||||
let g:go_metalinter_autosave=0
|
||||
let g:XkbSwitchEnabled = 1
|
||||
|
||||
"nnoremap <Space>k :<C-u>call gitblame#echo()<CR>
|
||||
|
||||
"大括号回车
|
||||
"inoremap { {<CR>}<up><end><CR>
|
||||
@@ -12,4 +20,4 @@ func! myspacevim#before() abort
|
||||
"inoremap , ,<Space>
|
||||
"等号左右空格
|
||||
"inoremap = <Space>=<Space>
|
||||
endf
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user