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

Split lang#json layer

This commit is contained in:
wsdjeg 2017-08-27 19:46:12 +00:00
parent 11c7d5cbda
commit 6dcc31ad27
2 changed files with 18 additions and 1 deletions

View File

@ -10,7 +10,6 @@ function! SpaceVim#layers#lang#plugins() abort
\ ['juvenn/mustache.vim', { 'on_ft' : ['mustache']}], \ ['juvenn/mustache.vim', { 'on_ft' : ['mustache']}],
\ ['leafgarland/typescript-vim', { 'on_ft' : ['typescript']}], \ ['leafgarland/typescript-vim', { 'on_ft' : ['typescript']}],
\ ['kchmck/vim-coffee-script', { 'on_ft' : ['coffee']}], \ ['kchmck/vim-coffee-script', { 'on_ft' : ['coffee']}],
\ ['elzr/vim-json', { 'on_ft' : ['javascript','json']}],
\ ['elixir-lang/vim-elixir', { 'on_ft' : 'elixir'}], \ ['elixir-lang/vim-elixir', { 'on_ft' : 'elixir'}],
\ ['PotatoesMaster/i3-vim-syntax', { 'on_ft' : 'i3'}], \ ['PotatoesMaster/i3-vim-syntax', { 'on_ft' : 'i3'}],
\ ['isundil/vim-irssi-syntax', { 'on_ft' : 'irssi'}], \ ['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