mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:10:04 +08:00
Split lang#json layer
This commit is contained in:
parent
11c7d5cbda
commit
6dcc31ad27
@ -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'}],
|
||||||
|
18
autoload/SpaceVim/layers/lang/json.vim
Normal file
18
autoload/SpaceVim/layers/lang/json.vim
Normal 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
|
Loading…
Reference in New Issue
Block a user