diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-09 02:40:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-09 02:40:53 +0800 |
commit | 037309aa78dfdb73dce73bec767260967b622216 (patch) | |
tree | a0a5d64202a47e79e837331e96feef0d6776a601 /doc/en-us | |
parent | cd81adfaf346eeaf3f547babda2338747feefc1d (diff) | |
download | lua-language-server-037309aa78dfdb73dce73bec767260967b622216.zip |
update doc
Diffstat (limited to 'doc/en-us')
-rw-r--r-- | doc/en-us/config.md | 107 |
1 files changed, 67 insertions, 40 deletions
diff --git a/doc/en-us/config.md b/doc/en-us/config.md index e7c65697..34d7181e 100644 --- a/doc/en-us/config.md +++ b/doc/en-us/config.md @@ -26,9 +26,10 @@ string ## enum -* `"Disable"`: Only shows `function name`. -* `"Both"`: Shows `function name` and `call snippet`. -* `"Replace"`: Only shows `call snippet.` +* ``"Disable"``: Only shows `function name`. +* ``"Both"``: Shows `function name` and `call snippet`. +* ``"Replace"``: Only shows `call snippet.` + ## default ```json @@ -79,9 +80,10 @@ string ## enum -* `"Disable"`: Only shows `keyword`. -* `"Both"`: Shows `keyword` and `syntax snippet`. -* `"Replace"`: Only shows `syntax snippet`. +* ``"Disable"``: Only shows `keyword`. +* ``"Both"``: Shows `keyword` and `syntax snippet`. +* ``"Replace"``: Only shows `syntax snippet`. + ## default ```json @@ -148,9 +150,10 @@ string ## enum -* `"Enable"`: Always show context words in suggestions. -* `"Fallback"`: Contextual words are only displayed when suggestions based on semantics cannot be provided. -* `"Disable"`: Do not display context words. +* ``"Enable"``: Always show context words in suggestions. +* ``"Fallback"``: Contextual words are only displayed when suggestions based on semantics cannot be provided. +* ``"Disable"``: Do not display context words. + ## default ```json @@ -249,9 +252,10 @@ string ## enum -* `"Enable"`: Always diagnose these files. -* `"Opened"`: Only when these files are opened will it be diagnosed. -* `"Disable"`: These files are not diagnosed. +* ``"Enable"``: Always diagnose these files. +* ``"Opened"``: Only when these files are opened will it be diagnosed. +* ``"Disable"``: These files are not diagnosed. + ## default ```json @@ -270,9 +274,10 @@ string ## enum -* `"Enable"`: Always diagnose these files. -* `"Opened"`: Only when these files are opened will it be diagnosed. -* `"Disable"`: These files are not diagnosed. +* ``"Enable"``: Always diagnose these files. +* ``"Opened"``: Only when these files are opened will it be diagnosed. +* ``"Disable"``: These files are not diagnosed. + ## default ```json @@ -294,9 +299,10 @@ object<string, string> ## enum -* `"Any"` -* `"Opened"` -* `"None"` +* ``"Any"`` +* ``"Opened"`` +* ``"None"`` + ## default ```json @@ -360,10 +366,11 @@ object<string, string> ## enum -* `"Error"` -* `"Warning"` -* `"Information"` -* `"Hint"` +* ``"Error"`` +* ``"Warning"`` +* ``"Information"`` +* ``"Hint"`` + ## default ```json @@ -491,9 +498,10 @@ string ## enum -* `"Enable"`: Show hints in all tables. -* `"Auto"`: Show hints only when the table is greater than 3 items, or the table is a mixed table. -* `"Disable"`: Disable hints of array index. +* ``"Enable"``: Show hints in all tables. +* ``"Auto"``: Show hints only when the table is greater than 3 items, or the table is a mixed table. +* ``"Disable"``: Disable hints of array index. + ## default ```json @@ -544,9 +552,10 @@ string ## enum -* `"All"`: All types of parameters are shown. -* `"Literal"`: Only literal type parameters are shown. -* `"Disable"`: Disable parameter hints. +* ``"All"``: All types of parameters are shown. +* ``"Literal"``: Only literal type parameters are shown. +* ``"Disable"``: Disable parameter hints. + ## default ```json @@ -730,9 +739,10 @@ object<string, string> ## enum -* `"default"` -* `"enable"` -* `"disable"` +* ``"default"`` +* ``"enable"`` +* ``"disable"`` + ## default ```json @@ -767,10 +777,11 @@ string ## enum -* `"utf8"` -* `"ansi"` -* `"utf16le"` -* `"utf16be"` +* ``"utf8"`` +* ``"ansi"`` +* ``"utf16le"`` +* ``"utf16be"`` + ## default ```json @@ -803,6 +814,21 @@ Supports non-standard symbols. Make sure that your runtime environment supports Array<string> ``` +## enum + +* ``"//"`` +* ``"/**/"`` +* ``"`"`` +* ``"+="`` +* ``"-="`` +* ``"*="`` +* ``"/="`` +* ``"||"`` +* ``"&&"`` +* ``"!"`` +* ``"!="`` +* ``"continue"`` + ## default ```json @@ -912,11 +938,12 @@ string ## enum -* `"Lua 5.1"` -* `"Lua 5.2"` -* `"Lua 5.3"` -* `"Lua 5.4"` -* `"LuaJIT"` +* ``"Lua 5.1"`` +* ``"Lua 5.2"`` +* ``"Lua 5.3"`` +* ``"Lua 5.4"`` +* ``"LuaJIT"`` + ## default ```json |