mirror of
https://github.com/amix/vimrc
synced 2025-07-02 21:35:01 +08:00
Updated plugins
This commit is contained in:
@ -15,6 +15,38 @@ Install prettier either globally or locally: >
|
||||
npm install prettier -g # global
|
||||
npm install prettier # local
|
||||
<
|
||||
===============================================================================
|
||||
spectral *ale-yaml-spectral*
|
||||
|
||||
Website: https://github.com/stoplightio/spectral
|
||||
|
||||
Installation
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Install spectral either globally or locally: >
|
||||
|
||||
npm install @stoplight/spectral -g # global
|
||||
npm install @stoplight/spectral # local
|
||||
<
|
||||
|
||||
Options
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
g:ale_yaml_spectral_executable *g:ale_yaml_spectral_executable*
|
||||
*b:ale_yaml_spectral_executable*
|
||||
Type: |String|
|
||||
Default: `'spectral'`
|
||||
|
||||
This variable can be set to change the path to spectral.
|
||||
|
||||
g:ale_yaml_spectral_use_global *g:ale_yaml_spectral_use_global*
|
||||
*b:ale_yaml_spectral_use_global*
|
||||
Type: |String|
|
||||
Default: `get(g:, 'ale_use_global_executables', 0)`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
===============================================================================
|
||||
swaglint *ale-yaml-swaglint*
|
||||
|
||||
|
Reference in New Issue
Block a user