diff --git a/generated/lspconfig-servers.json b/generated/lspconfig-servers.json index 0f0b155d..54866659 100644 --- a/generated/lspconfig-servers.json +++ b/generated/lspconfig-servers.json @@ -65,6 +65,11 @@ "desc": "https://github.com/withastro/language-tools/tree/main/packages/language-server\n\n`astro-ls` can be installed via `npm`:\n```sh\nnpm install -g @astrojs/language-server\n```\n", "name": "astro" }, + { + "cmd": ["autohotkey_lsp", "--stdio"], + "desc": "https://github.com/thqby/vscode-autohotkey2-lsp\n\nAutoHotkey v2.0 LSP implementation\n ", + "name": "autohotkey_lsp" + }, { "cmd": ["autotools-language-server"], "desc": "https://github.com/Freed-Wu/autotools-language-server\n\n`autotools-language-server` can be installed via `pip`:\n```sh\npip install autotools-language-server\n```\n\nLanguage server for autoconf, automake and make using tree sitter in python.\n", @@ -901,7 +906,7 @@ }, { "cmd": ["dotnet", "MSBuildProjectTools.LanguageServer.Host.dll"], - "desc": "https://github.com/tintoy/msbuild-project-tools-server/\n\nMSBuild Project Tools Server can be installed by following the README.MD on the above repository.\n\nExample config:\n```lua\nlspconfig.msbuild_project_tools_server.setup {\n cmd = {'dotnet', '/path/to/server/MSBuildProjectTools.LanguageServer.Host.dll'}\n}\n```\n\n", + "desc": "https://github.com/tintoy/msbuild-project-tools-server/\n\nMSBuild Project Tools Server can be installed by following the README.MD on the above repository.\n\nExample config:\n```lua\nlspconfig.msbuild_project_tools_server.setup {\n cmd = {'dotnet', '/path/to/server/MSBuildProjectTools.LanguageServer.Host.dll'}\n}\n```\n\nThere's no builtin filetypes for msbuild files, would require some filetype aliases:\n\n```lua\nvim.filetype.add({\n extension = {\n props = 'msbuild',\n tasks = 'msbuild',\n targets = 'msbuild',\n },\n pattern = {\n [ [[.*\\..*proj]] ] = 'msbuild',\n },\n})\n```\n\nOptionally tell treesitter to treat `msbuild` as `xml` so you can get syntax highlighting if you have the treesitter-xml-parser installed.\n\n```lua\nvim.treesitter.language.register('xml', { 'msbuild' })\n```\n", "name": "msbuild_project_tools_server" }, { @@ -1709,7 +1714,7 @@ }, { "cmd": ["vue-language-server", "--stdio"], - "desc": "https://github.com/johnsoncodehk/volar/tree/20d713b/packages/vue-language-server\n\nVolar language server for Vue\n\nVolar can be installed via npm:\n\n``` sh\nnpm install -g @vue/language-server\n```\n\nVolar by default supports Vue 3 projects. Vue 2 projects need\n[additional\nconfiguration](https://github.com/vuejs/language-tools/tree/master/packages/vscode-vue#usage).\n\n**TypeScript support** As of release 2.0.0, Volar no longer wraps around\nts_ls. For typescript support, `ts_ls` needs to be configured with the\n`@vue/typescript-plugin` plugin.\n\n**Take Over Mode**\n\nVolar (prior to 2.0.0), can serve as a language server for both Vue and\nTypeScript via [Take Over\nMode](https://github.com/johnsoncodehk/volar/discussions/471).\n\nTo enable Take Over Mode, override the default filetypes in `setup{}` as\nfollows:\n\n``` lua\nrequire'lspconfig'.volar.setup{\n filetypes = {'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json'}\n}\n```\n\n**Overriding the default TypeScript Server used by Volar**\n\nThe default config looks for TS in the local `node_modules`. This can\nlead to issues e.g.\u00a0when working on a\n[monorepo](https://monorepo.tools/). The alternatives are:\n\n- use a global TypeScript Server installation\n\n``` lua\nrequire'lspconfig'.volar.setup{\n init_options = {\n typescript = {\n tsdk = '/path/to/.npm/lib/node_modules/typescript/lib'\n -- Alternative location if installed as root:\n -- tsdk = '/usr/local/lib/node_modules/typescript/lib'\n }\n }\n}\n```\n\n- use a local server and fall back to a global TypeScript Server\n installation\n\n``` lua\nlocal util = require 'lspconfig.util'\nlocal function get_typescript_server_path(root_dir)\n\n local global_ts = '/home/[yourusernamehere]/.npm/lib/node_modules/typescript/lib'\n -- Alternative location if installed as root:\n -- local global_ts = '/usr/local/lib/node_modules/typescript/lib'\n local found_ts = ''\n local function check_dir(path)\n found_ts = util.path.join(path, 'node_modules', 'typescript', 'lib')\n if vim.loop.fs_stat(found_ts) then\n return path\n end\n end\n if util.search_ancestors(root_dir, check_dir) then\n return found_ts\n else\n return global_ts\n end\nend\n\nrequire'lspconfig'.volar.setup{\n on_new_config = function(new_config, new_root_dir)\n new_config.init_options.typescript.tsdk = get_typescript_server_path(new_root_dir)\n end,\n}\n```\n", + "desc": "https://github.com/vuejs/language-tools/tree/master/packages/language-server\n\nVolar language server for Vue\n\nVolar can be installed via npm:\n\n``` sh\nnpm install -g @vue/language-server\n```\n\nVolar by default supports Vue 3 projects. For Vue 2 projects,\n[additional\nconfiguration](https://github.com/vuejs/language-tools/blob/master/extensions/vscode/README.md?plain=1#L19)\nare required.\n\n**Hybrid Mode (by default)**\n\nIn this mode, the Vue Language Server exclusively manages the CSS/HTML\nsections. You need the `ts_ls` server with the `@vue/typescript-plugin`\nplugin to support TypeScript in `.vue` files. See `ts_ls` section for\nmore information\n\n**No Hybrid Mode**\n\nVolar will run embedded `ts_ls` therefore there is no need to run it\nseparately.\n\n``` lua\nlocal lspconfig = require('lspconfig')\n\nlspconfig.volar.setup {\n -- add filetypes for typescript, javascript and vue\n filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },\n init_options = {\n vue = {\n -- disable hybrid mode\n hybridMode = false,\n },\n },\n}\n-- you must remove ts_ls setup\n-- lspconfig.ts_ls.setup {}\n```\n\n**Overriding the default TypeScript Server used by Volar**\n\nThe default config looks for TypeScript in the local `node_modules`.\nThis can lead to issues e.g.\u00a0when working on a\n[monorepo](https://monorepo.tools/). The alternatives are:\n\n- use a global TypeScript Server installation\n\n``` lua\nrequire'lspconfig'.volar.setup {\n init_options = {\n typescript = {\n -- replace with your global TypeScript library path\n tsdk = '/path/to/node_modules/typescript/lib'\n }\n }\n}\n```\n\n- use a local server and fall back to a global TypeScript Server\n installation\n\n``` lua\nrequire'lspconfig'.volar.setup {\n init_options = {\n typescript = {\n -- replace with your global TypeScript library path\n tsdk = '/path/to/node_modules/typescript/lib'\n }\n },\n on_new_config = function(new_config, new_root_dir)\n local lib_path = vim.fs.find('node_modules/typescript/lib', { path = new_root_dir, upward = true })[1]\n if lib_path then\n new_config.init_options.typescript.tsdk = lib_path\n end\n end\n}\n```\n", "name": "volar" }, { diff --git a/generated/rust-analyzer.nix b/generated/rust-analyzer.nix index e902b4b5..59eae65b 100644 --- a/generated/rust-analyzer.nix +++ b/generated/rust-analyzer.nix @@ -1962,13 +1962,13 @@ kind = "boolean"; }; }; - "rust-analyzer.typing.autoClosingAngleBrackets.enable" = { + "rust-analyzer.typing.excludeChars" = { description = '' - Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list. + Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`. ''; - pluginDefault = false; + pluginDefault = "|<"; type = { - kind = "boolean"; + kind = "string"; }; }; "rust-analyzer.workspace.discoverConfig" = {