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

Merge remote-tracking branch 'igalic/lang/puppet' into dev

This commit is contained in:
wsdjeg 2017-02-13 22:04:03 +08:00
commit ef6d18e8f7
3 changed files with 26 additions and 0 deletions

View File

@ -23,6 +23,7 @@ function! SpaceVim#layers#lang#plugins() abort
\ ['lervag/vimtex', { 'on_ft' : 'tex'}],
\ ['vimperator/vimperator.vim', { 'on_ft' : 'vimperator'}],
\ ['voxpupuli/vim-puppet', {'on_ft' : 'puppet'}],
\ ['rust-lang/rust.vim', {'merged' : 1}],
\ ]
return plugins
endfunction

View File

@ -0,0 +1,12 @@
function! SpaceVim#layers#lang#puppet#plugins() abort
let plugins = []
call add(plugins, ['voxpupuli/vim-puppet', { 'on_ft' : 'puppet', 'loadconf_before' : 1}])
return plugins
endfunction
function! SpaceVim#layers#lang#puppet#config() abort
let g:syntastic_puppet_checkers = ['puppetlint', 'puppet']
let g:syntastic_puppet_puppetlint_args='--no-autoloader_layout-check --no-class_inherits_from_params_class-check'
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['puppet'] }
endfunction

View File

@ -32,6 +32,7 @@ CONTENTS *SpaceVim-contents*
10. lang#java.................................|SpaceVim-layer-lang-java|
11. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
12. lang#php...................................|SpaceVim-layer-lang-php|
12. lang#puppet.............................|SpaceVim-layer-lang-puppet|
13. lang#python.............................|SpaceVim-layer-lang-python|
14. lang#rust.................................|SpaceVim-layer-lang-rust|
15. lang#xml...................................|SpaceVim-layer-lang-xml|
@ -592,6 +593,18 @@ requirement:
Composer Project
<
==============================================================================
LANG#PUPPET *SpaceVim-layer-lang-puppet*
this layer is for Puppet development, and it provides syntax highlighting,
and syntax check.
requirement:
>
Puppet
Puppet Lint
<
==============================================================================
LANG#PYTHON *SpaceVim-layer-lang-python*