mirror of
https://github.com/dense-analysis/ale.git
synced 2026-08-12 02:42:30 +08:00
Implement Lua ALE setup & overhaul documentation
1. Add ale.setup and ale.setup.buffer for pure Lua configuration. 2. Update many global settings to use Booleans instead of numbers to make types easiert to work with in Lua. 3. Radically reformat documentation and fix errors to make documentation more usable for Neovim users.
This commit is contained in:
+26
-11
@@ -11,24 +11,31 @@ See |ale-cspell-options|
|
||||
===============================================================================
|
||||
css-beautify *ale-css-css-beautify*
|
||||
|
||||
g:ale_css_css_beautify_executable *g:ale_css_css_beautify_executable*
|
||||
*ale-options.css_css_beautify_executable*
|
||||
*g:ale_css_css_beautify_executable*
|
||||
*b:ale_css_css_beautify_executable*
|
||||
css_css_beautify_executable
|
||||
g:ale_css_css_beautify_executable
|
||||
Type: |String|
|
||||
Default: `'css-beautify'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_css_css_beautify_options *g:ale_css_css_beautify_options*
|
||||
*ale-options.css_css_beautify_options*
|
||||
*g:ale_css_css_beautify_options*
|
||||
*b:ale_css_css_beautify_options*
|
||||
css_css_beautify_options
|
||||
g:ale_css_css_beautify_options
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to css-beautify.
|
||||
|
||||
|
||||
g:ale_css_css_beautify_use_global *g:ale_css_css_beautify_use_global*
|
||||
*ale-options.css_css_beautify_use_global*
|
||||
*g:ale_css_css_beautify_use_global*
|
||||
*b:ale_css_css_beautify_use_global*
|
||||
css_css_beautify_use_global
|
||||
g:ale_css_css_beautify_use_global
|
||||
Type: |String|
|
||||
Default: `get(g:, 'ale_use_global_executables', 0)`
|
||||
|
||||
@@ -52,24 +59,31 @@ See |ale-javascript-prettier| for information about the available options.
|
||||
===============================================================================
|
||||
stylelint *ale-css-stylelint*
|
||||
|
||||
g:ale_css_stylelint_executable *g:ale_css_stylelint_executable*
|
||||
*ale-options.css_stylelint_executable*
|
||||
*g:ale_css_stylelint_executable*
|
||||
*b:ale_css_stylelint_executable*
|
||||
css_stylelint_executable
|
||||
g:ale_css_stylelint_executable
|
||||
Type: |String|
|
||||
Default: `'stylelint'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_css_stylelint_options *g:ale_css_stylelint_options*
|
||||
*ale-options.css_stylelint_options*
|
||||
*g:ale_css_stylelint_options*
|
||||
*b:ale_css_stylelint_options*
|
||||
css_stylelint_options
|
||||
g:ale_css_stylelint_options
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to stylelint.
|
||||
|
||||
|
||||
g:ale_css_stylelint_use_global *g:ale_css_stylelint_use_global*
|
||||
*ale-options.css_stylelint_use_global*
|
||||
*g:ale_css_stylelint_use_global*
|
||||
*b:ale_css_stylelint_use_global*
|
||||
css_stylelint_use_global
|
||||
g:ale_css_stylelint_use_global
|
||||
Type: |String|
|
||||
Default: `get(g:, 'ale_use_global_executables', 0)`
|
||||
|
||||
@@ -81,8 +95,9 @@ vscodecss *ale-css-vscode*
|
||||
|
||||
Website: https://github.com/hrsh7th/vscode-langservers-extracted
|
||||
|
||||
Installation
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Installation
|
||||
|
||||
Install VSCode css language server either globally or locally: >
|
||||
|
||||
|
||||
Reference in New Issue
Block a user