mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 04:40:06 +08:00
Fix #576, Undefined variable
This commit is contained in:
parent
76ca364f30
commit
a1a8e8a87c
@ -29,6 +29,9 @@ function! SpaceVim#layers#lang#markdown#config() abort
|
||||
endfunction
|
||||
|
||||
function! s:mappings() abort
|
||||
if !exists('g:_spacevim_mappings_space')
|
||||
let g:_spacevim_mappings_space = {}
|
||||
endif
|
||||
let g:_spacevim_mappings_space.l = {'name' : '+Language Specified'}
|
||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','ft'], "Tabularize /|", 'Format table under cursor', 1)
|
||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','p'], "MarkdownPreview", 'Real-time markdown preview', 1)
|
||||
|
Loading…
Reference in New Issue
Block a user