aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-12-22 23:46:11 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-12-22 23:46:11 +0000
commitb54abeb8b90af1cb4592ce937ee95ed8cb457801 (patch)
tree2804c95c8c91deec234f8c43dfea19b1bb7223e2
parentfeat: autohotkey_lsp #3408 (diff)
downloadnvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar.gz
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar.bz2
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar.lz
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar.xz
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.tar.zst
nvim-lspconfig-b54abeb8b90af1cb4592ce937ee95ed8cb457801.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md64
-rw-r--r--doc/configs.txt64
2 files changed, 128 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index a9a5c98a..bd02f39a 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -17,6 +17,7 @@ Nvim by running `:help lspconfig-all`.
- [asm_lsp](#asm_lsp)
- [ast_grep](#ast_grep)
- [astro](#astro)
+- [autohotkey_lsp](#autohotkey_lsp)
- [autotools_ls](#autotools_ls)
- [awk_ls](#awk_ls)
- [azure_pipelines_ls](#azure_pipelines_ls)
@@ -803,6 +804,69 @@ Default config:
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/astro.lua:9](../lua/lspconfig/configs/astro.lua#L9)
+## autohotkey_lsp
+
+https://github.com/thqby/vscode-autohotkey2-lsp
+
+AutoHotkey v2.0 LSP implementation
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.autohotkey_lsp.setup{}
+```
+
+Default config:
+- `autostart` : `true`
+- `cmd` :
+ ```lua
+ { "autohotkey_lsp", "--stdio" }
+ ```
+- `filetypes` :
+ ```lua
+ { "autohotkey" }
+ ```
+- `flags` :
+ ```lua
+ {
+ debounce_text_changes = 500
+ }
+ ```
+- `init_options` :
+ ```lua
+ {
+ ActionWhenV1IsDetected = "Continue",
+ AutoLibInclude = "All",
+ CommentTags = "^;;\\s*(?<tag>.+)",
+ CompleteFunctionParens = false,
+ Diagnostics = {
+ ClassStaticMemberCheck = true,
+ ParamsCheck = true
+ },
+ FormatOptions = {
+ array_style = "expand",
+ brace_style = "One True Brace",
+ break_chained_methods = false,
+ ignore_comment = false,
+ indent_string = "\t",
+ max_preserve_newlines = 2,
+ object_style = "none",
+ preserve_newlines = true,
+ space_after_double_colon = true,
+ space_before_conditional = true,
+ space_in_empty_paren = false,
+ space_in_other = true,
+ space_in_paren = false,
+ wrap_line_length = 0
+ },
+ InterpreterPath = "",
+ SymbolFoldinFromOpenBrace = false,
+ locale = "en-us"
+ }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/autohotkey_lsp.lua:8](../lua/lspconfig/configs/autohotkey_lsp.lua#L8)
+- `single_file_support` : `true`
+
+
## autotools_ls
https://github.com/Freed-Wu/autotools-language-server
diff --git a/doc/configs.txt b/doc/configs.txt
index a9a5c98a..bd02f39a 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -17,6 +17,7 @@ Nvim by running `:help lspconfig-all`.
- [asm_lsp](#asm_lsp)
- [ast_grep](#ast_grep)
- [astro](#astro)
+- [autohotkey_lsp](#autohotkey_lsp)
- [autotools_ls](#autotools_ls)
- [awk_ls](#awk_ls)
- [azure_pipelines_ls](#azure_pipelines_ls)
@@ -803,6 +804,69 @@ Default config:
- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/astro.lua:9](../lua/lspconfig/configs/astro.lua#L9)
+## autohotkey_lsp
+
+https://github.com/thqby/vscode-autohotkey2-lsp
+
+AutoHotkey v2.0 LSP implementation
+
+Snippet to enable the language server:
+```lua
+require'lspconfig'.autohotkey_lsp.setup{}
+```
+
+Default config:
+- `autostart` : `true`
+- `cmd` :
+ ```lua
+ { "autohotkey_lsp", "--stdio" }
+ ```
+- `filetypes` :
+ ```lua
+ { "autohotkey" }
+ ```
+- `flags` :
+ ```lua
+ {
+ debounce_text_changes = 500
+ }
+ ```
+- `init_options` :
+ ```lua
+ {
+ ActionWhenV1IsDetected = "Continue",
+ AutoLibInclude = "All",
+ CommentTags = "^;;\\s*(?<tag>.+)",
+ CompleteFunctionParens = false,
+ Diagnostics = {
+ ClassStaticMemberCheck = true,
+ ParamsCheck = true
+ },
+ FormatOptions = {
+ array_style = "expand",
+ brace_style = "One True Brace",
+ break_chained_methods = false,
+ ignore_comment = false,
+ indent_string = "\t",
+ max_preserve_newlines = 2,
+ object_style = "none",
+ preserve_newlines = true,
+ space_after_double_colon = true,
+ space_before_conditional = true,
+ space_in_empty_paren = false,
+ space_in_other = true,
+ space_in_paren = false,
+ wrap_line_length = 0
+ },
+ InterpreterPath = "",
+ SymbolFoldinFromOpenBrace = false,
+ locale = "en-us"
+ }
+ ```
+- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/autohotkey_lsp.lua:8](../lua/lspconfig/configs/autohotkey_lsp.lua#L8)
+- `single_file_support` : `true`
+
+
## autotools_ls
https://github.com/Freed-Wu/autotools-language-server