mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-25 09:48:43 +08:00
add: support for nickel format as Nickel fixer (#4665)
Nickel(https://nickel-lang.org/) is a configuration language, like Jsonnet, Cue, Dhall. `nickel`(https://github.com/tweag/nickel) is the main command to run, export and also format Nickel code. this commit adds `nickel format` as a Nickel fixer, together with some tests and documentation.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
===============================================================================
|
||||
ALE Nickel Integration *ale-nickel-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
nickel_format *ale-nickel-nickel-format*
|
||||
|
||||
g:ale_nickel_nickel_format_executable *g:ale_nickel_nickel_format_executable*
|
||||
*b:ale_nickel_nickel_format_executable*
|
||||
Type: |String|
|
||||
Default: `'nickel'`
|
||||
|
||||
This option can be changed to change the path for `nickel`.
|
||||
|
||||
|
||||
g:ale_nickel_nickel_format_options *g:ale_nickel_nickel_format_options*
|
||||
*b:ale_nickel_nickel_format_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This option can be changed to pass extra options to `'nickel format'`
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
Reference in New Issue
Block a user