1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 09:10:04 +08:00

Merge pull request #804 from SpaceVim/lang/json

Split lang#json layer
This commit is contained in:
Wang Shidong 2017-09-26 21:59:53 +08:00 committed by GitHub
commit 1164330533
2 changed files with 18 additions and 1 deletions

View File

@ -9,7 +9,6 @@ function! SpaceVim#layers#lang#plugins() abort
\ ['digitaltoad/vim-jade', { 'on_ft' : ['jade']}],
\ ['juvenn/mustache.vim', { 'on_ft' : ['mustache']}],
\ ['kchmck/vim-coffee-script', { 'on_ft' : ['coffee']}],
\ ['elzr/vim-json', { 'on_ft' : ['javascript','json']}],
\ ['elixir-lang/vim-elixir', { 'on_ft' : 'elixir'}],
\ ['PotatoesMaster/i3-vim-syntax', { 'on_ft' : 'i3'}],
\ ['isundil/vim-irssi-syntax', { 'on_ft' : 'irssi'}],

View File

@ -0,0 +1,18 @@
"=============================================================================
" json.vim --- lang#json layer
" Copyright (c) 2016-2017 Shidong Wang & Contributors
" Author: Shidong Wang < wsdjeg at 163.com >
" URL: https://spacevim.org
" License: MIT license
"=============================================================================
function! SpaceVim#layers#lang#json#plugins() abort
let plugins = []
call add(plugins, ['elzr/vim-json', { 'on_ft' : ['javascript','json']}])
return plugins
endfunction
function! SpaceVim#layers#lang#json#config() abort
endfunction