generated: Update

- Updated efmls-configs.nix
- Updated lspconfig-servers.json
- Updated rust-analyzer.nix
This commit is contained in:
github-actions[bot] 2024-12-14 12:35:18 +00:00 committed by Austin Horstman
parent b33189256b
commit 4463eccbd2
No known key found for this signature in database
3 changed files with 45 additions and 0 deletions

View file

@ -469,6 +469,28 @@
];
};
};
gleam = {
formatter = {
lang = "gleam";
possible = [
"gleam_format"
];
};
linter = {
lang = "gleam";
possible = [
"alex"
"codespell"
"cspell"
"languagetool"
"proselint"
"redpen"
"textlint"
"vale"
"write_good"
];
};
};
go = {
formatter = {
lang = "go";

View file

@ -803,6 +803,11 @@
"desc": "https://github.com/valentjn/ltex-ls\n\nLTeX Language Server: LSP language server for LanguageTool \ud83d\udd0d\u2714\ufe0f with support for LaTeX \ud83c\udf93, Markdown \ud83d\udcdd, and others\n\nTo install, download the latest [release](https://github.com/valentjn/ltex-ls/releases) and ensure `ltex-ls` is on your path.\n\nThis server accepts configuration via the `settings` key.\n\n```lua\n settings = {\n\t\tltex = {\n\t\t\tlanguage = \"en-GB\",\n\t\t},\n\t},\n```\n\nTo support org files or R sweave, users can define a custom filetype autocommand (or use a plugin which defines these filetypes):\n\n```lua\nvim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]]\n```\n",
"name": "ltex"
},
{
"cmd": ["ltex-ls-plus"],
"desc": "https://github.com/ltex-plus/ltex-ls-plus\n\nLTeX Language Server: LSP language server for LanguageTool \ud83d\udd0d\u2714\ufe0f with support for LaTeX \ud83c\udf93, Markdown \ud83d\udcdd, and others\n\nTo install, download the latest [release](https://github.com/ltex-plus/ltex-ls-plus) and ensure `ltex-ls-plus` is on your path.\n\nThis server accepts configuration via the `settings` key.\n\n```lua\n settings = {\n ltex = {\n language = \"en-GB\",\n },\n },\n```\n\nTo support org files or R sweave, users can define a custom filetype autocommand (or use a plugin which defines these filetypes):\n\n```lua\nvim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]]\n```\n",
"name": "ltex_plus"
},
{
"cmd": ["lua-language-server"],
"desc": "https://github.com/luals/lua-language-server\n\nLua language server.\n\n`lua-language-server` can be installed by following the instructions\n[here](https://luals.github.io/#neovim-install).\n\nThe default `cmd` assumes that the `lua-language-server` binary can be\nfound in `$PATH`.\n\nIf you primarily use `lua-language-server` for Neovim, and want to\nprovide completions, analysis, and location handling for plugins on\nruntime path, you can use the following settings.\n\n``` lua\nrequire'lspconfig'.lua_ls.setup {\n on_init = function(client)\n if client.workspace_folders then\n local path = client.workspace_folders[1].name\n if vim.loop.fs_stat(path..'/.luarc.json') or vim.loop.fs_stat(path..'/.luarc.jsonc') then\n return\n end\n end\n\n client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {\n runtime = {\n -- Tell the language server which version of Lua you're using\n -- (most likely LuaJIT in the case of Neovim)\n version = 'LuaJIT'\n },\n -- Make the server aware of Neovim runtime files\n workspace = {\n checkThirdParty = false,\n library = {\n vim.env.VIMRUNTIME\n -- Depending on the usage, you might want to add additional paths here.\n -- \"${3rd}/luv/library\"\n -- \"${3rd}/busted/library\",\n }\n -- or pull in all of 'runtimepath'. NOTE: this is a lot slower and will cause issues when working on your own configuration (see https://github.com/neovim/nvim-lspconfig/issues/3189)\n -- library = vim.api.nvim_get_runtime_file(\"\", true)\n }\n })\n end,\n settings = {\n Lua = {}\n }\n}\n```\n\nSee `lua-language-server`'s\n[documentation](https://luals.github.io/wiki/settings/) for an\nexplanation of the above fields: \\*\n[Lua.runtime.path](https://luals.github.io/wiki/settings/#runtimepath)\n\\*\n[Lua.workspace.library](https://luals.github.io/wiki/settings/#workspacelibrary)\n",

View file

@ -268,6 +268,24 @@
kind = "string";
};
};
"rust-analyzer.cargo.sysrootQueryMetadata" = {
description = ''
How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer
to analyze third-party dependencies of the standard libraries.
Values:
- none: Do not query sysroot metadata, always use stitched sysroot.
- cargo_metadata: Use `cargo metadata` to query sysroot metadata.
'';
pluginDefault = "cargo_metadata";
type = {
kind = "enum";
values = [
"none"
"cargo_metadata"
];
};
};
"rust-analyzer.cargo.sysrootSrc" = {
description = ''
Relative path to the sysroot library sources. If left unset, this will default to