mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:10:04 +08:00
Merge branch 'master' into improve-javascript
This commit is contained in:
commit
484e4c35f6
@ -70,6 +70,6 @@ function! SpaceVim#layers#github#config() abort
|
|||||||
call SpaceVim#mapping#space#def('nnoremap', ['g', 'h', 'I'],
|
call SpaceVim#mapping#space#def('nnoremap', ['g', 'h', 'I'],
|
||||||
\ 'OpenGithubIssue', 'show issues in browser', 1)
|
\ 'OpenGithubIssue', 'show issues in browser', 1)
|
||||||
call SpaceVim#mapping#space#def('nnoremap', ['g', 'h', 'p'],
|
call SpaceVim#mapping#space#def('nnoremap', ['g', 'h', 'p'],
|
||||||
\ 'OpenGithubPullRequests', 'show PRs in browser', 1)
|
\ 'OpenGithubPullReq', 'show PRs in browser', 1)
|
||||||
"" }}}
|
"" }}}
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -14,5 +14,13 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#json#config() abort
|
function! SpaceVim#layers#lang#json#config() abort
|
||||||
|
" elzr/vim-json {{{
|
||||||
|
" conceal by default
|
||||||
|
let g:vim_json_syntax_conceal = 0
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
augroup SpaceVim_d_lang_json
|
||||||
|
autocmd!
|
||||||
|
autocmd FileType json setlocal foldmethod=syntax
|
||||||
|
augroup END
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user