Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add autohotkey-lsp support #509

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: add autohotkey-lsp support
Additional things - needed?
dev4s committed Jan 19, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 22f6c3bfe69c89fb85e56a8b6ccfdcd1208e91b5
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -179,6 +179,7 @@ local DEFAULT_SETTINGS = {
| Arduino | [`arduino_language_server`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#arduino_language_server) |
| Assembly | [`asm_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#asm_lsp) |
| Astro | [`astro`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#astro) |
| AutoHotkey | [`autohotkey_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#autohotkey_lsp) |
| AWK | [`awk_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#awk_ls) |
| Azure Pipelines | [`azure_pipelines_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#azure_pipelines_ls) |
| Bash | [`bashls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#bashls) |
3 changes: 2 additions & 1 deletion doc/mason-lspconfig-mapping.txt
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ arduino-language-server arduino_language_server
asm-lsp asm_lsp
ast-grep ast_grep
astro-language-server astro
autohotkey_lsp autohotkey_lsp
autotools-language-server autotools_ls
awk-language-server awk_ls
azure-pipelines-language-server azure_pipelines_ls
@@ -223,4 +224,4 @@ yaml-language-server yamlls
zk zk
zls zls

vim:tw=78:ft=help:norl:expandtab:sw=4
vim:tw=78:ft=help:norl:expandtab:sw=4
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
| [asm_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#asm_lsp) | [asm-lsp](https://mason-registry.dev/registry/list#asm-lsp) |
| [ast_grep](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#ast_grep) | [ast-grep](https://mason-registry.dev/registry/list#ast-grep) |
| [astro](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#astro) | [astro-language-server](https://mason-registry.dev/registry/list#astro-language-server) |
| [autohotkey_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#autohotkey_lsp) | [autohotkey_lsp](https://mason-registry.dev/registry/list#autohotkey_lsp) |
| [autotools_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#autotools_ls) | [autotools-language-server](https://mason-registry.dev/registry/list#autotools-language-server) |
| [awk_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#awk_ls) | [awk-language-server](https://mason-registry.dev/registry/list#awk-language-server) |
| [azure_pipelines_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#azure_pipelines_ls) | [azure-pipelines-language-server](https://mason-registry.dev/registry/list#azure-pipelines-language-server) |
3 changes: 3 additions & 0 deletions lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
@@ -8,6 +8,9 @@ return {
apexcode = { "apex_ls" },
arduino = { "arduino_language_server" },
asm = { "asm_lsp" },
ahk = { "autohotkey_lsp" },
ah2 = { "autohotkey_lsp" },
autohotkey = { "autohotkey_lsp" },
aspnetcorerazor = { "htmx", "tailwindcss" },
astro = { "astro", "biome", "emmet_ls", "eslint", "htmx", "tailwindcss", "unocss" },
["astro-markdown"] = { "htmx", "tailwindcss" },
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/server.lua
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ M.lspconfig_to_package = {
["asm_lsp"] = "asm-lsp",
["ast_grep"] = "ast-grep",
["astro"] = "astro-language-server",
["autohotkey_lsp"] = "autohotkey_lsp",
["autotools_ls"] = "autotools-language-server",
["awk_ls"] = "awk-language-server",
["azure_pipelines_ls"] = "azure-pipelines-language-server",