mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-24 17:28:42 +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:
+8
-5
@@ -17,9 +17,12 @@ or above the directory of the file being checked. Only one checker (`smlnj`,
|
||||
`smlnj-cm`) will be enabled at a time.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
g:ale_sml_smlnj_cm_file *g:ale_sml_smlnj_cm_file*
|
||||
Options
|
||||
*ale-options.sml_smlnj_cm_file*
|
||||
*g:ale_sml_smlnj_cm_file*
|
||||
*b:ale_sml_smlnj_cm_file*
|
||||
sml_smlnj_cm_file
|
||||
g:ale_sml_smlnj_cm_file
|
||||
Type: |String|
|
||||
Default: `'*.cm'`
|
||||
|
||||
@@ -28,9 +31,9 @@ g:ale_sml_smlnj_cm_file *g:ale_sml_smlnj_cm_file*
|
||||
the first file if there are more than one).
|
||||
|
||||
Change this option (in the buffer or global scope) to control how ALE finds
|
||||
CM files. For example, to always search for a CM file named `sandbox.cm`:
|
||||
>
|
||||
let g:ale_sml_smlnj_cm_file = 'sandbox.cm'
|
||||
CM files. For example, to always search for a CM file named `sandbox.cm`: >
|
||||
|
||||
let g:ale_sml_smlnj_cm_file = 'sandbox.cm'
|
||||
<
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user