From b54abeb8b90af1cb4592ce937ee95ed8cb457801 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Dec 2024 23:46:11 +0000 Subject: [PATCH] docs: update configs.md skip-checks: true --- doc/configs.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/configs.txt | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/doc/configs.md b/doc/configs.md index a9a5c98a29..bd02f39a91 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*(?.+)", + 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 a9a5c98a29..bd02f39a91 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*(?.+)", + 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