mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
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.
95 lines
3.5 KiB
Plaintext
95 lines
3.5 KiB
Plaintext
===============================================================================
|
|
ALE Objective-C Integration *ale-objc-options*
|
|
|
|
|
|
===============================================================================
|
|
ccls *ale-objc-ccls*
|
|
|
|
*ale-options.objc_ccls_executable*
|
|
*g:ale_objc_ccls_executable*
|
|
*b:ale_objc_ccls_executable*
|
|
objc_ccls_executable
|
|
g:ale_objc_ccls_executable
|
|
Type: |String|
|
|
Default: `'ccls'`
|
|
|
|
This variable can be changed to use a different executable for ccls.
|
|
|
|
*ale-options.objc_ccls_init_options*
|
|
*g:ale_objc_ccls_init_options*
|
|
*b:ale_objc_ccls_init_options*
|
|
objc_ccls_init_options
|
|
g:ale_objc_ccls_init_options
|
|
Type: |Dictionary|
|
|
Default: `{}`
|
|
|
|
This variable can be changed to customize ccls initialization options.
|
|
Example: >
|
|
|
|
let g:ale_objc_ccls_init_options = {
|
|
\ 'cacheDirectory': '/tmp/ccls',
|
|
\ 'cacheFormat': 'binary',
|
|
\ 'diagnostics': {
|
|
\ 'onOpen': 0,
|
|
\ 'opChange': 1000,
|
|
\ },
|
|
\}
|
|
<
|
|
Visit https://github.com/MaskRay/ccls/wiki/Initialization-options for all
|
|
available options and explanations.
|
|
|
|
|
|
===============================================================================
|
|
clang *ale-objc-clang*
|
|
|
|
*ale-options.objc_clang_options*
|
|
*g:ale_objc_clang_options*
|
|
*b:ale_objc_clang_options*
|
|
objc_clang_options
|
|
g:ale_objc_clang_options
|
|
Type: |String|
|
|
Default: `'-std=c11 -Wall'`
|
|
|
|
This variable can be changed to modify flags given to clang.
|
|
|
|
|
|
===============================================================================
|
|
clang-format *ale-objc-clangformat*
|
|
|
|
See |ale-c-clangformat| for information about the available options.
|
|
Note that the C options are also used for Objective-C.
|
|
|
|
|
|
===============================================================================
|
|
clangd *ale-objc-clangd*
|
|
|
|
*ale-options.objc_clangd_executable*
|
|
*g:ale_objc_clangd_executable*
|
|
*b:ale_objc_clangd_executable*
|
|
objc_clangd_executable
|
|
g:ale_objc_clangd_executable
|
|
Type: |String|
|
|
Default: `'clangd'`
|
|
|
|
This variable can be changed to use a different executable for clangd.
|
|
|
|
*ale-options.objc_clangd_options*
|
|
*g:ale_objc_clangd_options*
|
|
*b:ale_objc_clangd_options*
|
|
objc_clangd_options
|
|
g:ale_objc_clangd_options
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be changed to modify flags given to clangd.
|
|
|
|
|
|
===============================================================================
|
|
uncrustify *ale-objc-uncrustify*
|
|
|
|
See |ale-c-uncrustify| for information about the available options.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|