mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-18 06:19:49 +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:
+20
-14
@@ -5,19 +5,23 @@ ALE Ink Integration *ale-ink-options*
|
||||
===============================================================================
|
||||
ink-language-server *ale-ink-language-server*
|
||||
|
||||
Ink Language Server
|
||||
(https://github.com/ephraim/ink-language-server)
|
||||
Ink Language Server - https://github.com/ephraim/ink-language-server
|
||||
|
||||
g:ale_ink_ls_executable g:ale_ink_ls_executable
|
||||
b:ale_ink_ls_executable
|
||||
*ale-options.ink_ls_executable*
|
||||
*g:ale_ink_ls_executable*
|
||||
*b:ale_ink_ls_executable*
|
||||
ink_ls_executable
|
||||
g:ale_ink_ls_executable
|
||||
Type: |String|
|
||||
Default: `'ink-language-server'`
|
||||
|
||||
Ink language server executable.
|
||||
|
||||
*ale-options.ink_ls_initialization_options*
|
||||
*g:ale_ink_ls_initialization_options*
|
||||
*b:ale_ink_ls_initialization_options*
|
||||
ink_ls_initialization_options
|
||||
g:ale_ink_ls_initialization_options
|
||||
g:ale_ink_ls_initialization_options
|
||||
b:ale_ink_ls_initialization_options
|
||||
Type: |Dictionary|
|
||||
Default: `{}`
|
||||
|
||||
@@ -27,14 +31,16 @@ g:ale_ink_ls_initialization_options
|
||||
change these settings - see the ink-language-server website for more
|
||||
information.
|
||||
|
||||
An example of setting non-default options:
|
||||
{
|
||||
\ 'ink': {
|
||||
\ 'mainStoryPath': 'init.ink',
|
||||
\ 'inklecateExecutablePath': '/usr/local/bin/inklecate',
|
||||
\ 'runThroughMono': v:false
|
||||
\ }
|
||||
\}
|
||||
An example of setting non-default options: >
|
||||
|
||||
let g:ale_ink_ls_initialization_options = {
|
||||
\ 'ink': {
|
||||
\ 'mainStoryPath': 'init.ink',
|
||||
\ 'inklecateExecutablePath': '/usr/local/bin/inklecate',
|
||||
\ 'runThroughMono': v:false,
|
||||
\ },
|
||||
\}
|
||||
<
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user