mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
generated/lspconfig-servers.json: update
This commit is contained in:
parent
b4f71a9330
commit
d9dd573903
2 changed files with 27 additions and 3 deletions
|
@ -451,7 +451,7 @@
|
|||
},
|
||||
{
|
||||
"cmd": ["fennel-ls"],
|
||||
"desc": "https://sr.ht/~xerool/fennel-ls/\n\nA language server for fennel.\n",
|
||||
"desc": "https://sr.ht/\\~xerool/fennel-ls/\n\nA language server for fennel.\n\nfennel-ls is configured using the closest file to your working directory\nnamed `flsproject.fnl`. All fennel-ls configuration options [can be\nfound\nhere](https://git.sr.ht/~xerool/fennel-ls/tree/HEAD/docs/manual.md#configuration).\n",
|
||||
"name": "fennel_ls"
|
||||
},
|
||||
{
|
||||
|
@ -723,7 +723,7 @@
|
|||
"-e",
|
||||
" # Load LanguageServer.jl: attempt to load from ~/.julia/environments/nvim-lspconfig\n # with the regular load path as a fallback\n ls_install_path = joinpath(\n get(DEPOT_PATH, 1, joinpath(homedir(), \".julia\")),\n \"environments\", \"nvim-lspconfig\"\n )\n pushfirst!(LOAD_PATH, ls_install_path)\n using LanguageServer\n popfirst!(LOAD_PATH)\n depot_path = get(ENV, \"JULIA_DEPOT_PATH\", \"\")\n project_path = let\n dirname(something(\n ## 1. Finds an explicitly set project (JULIA_PROJECT)\n Base.load_path_expand((\n p = get(ENV, \"JULIA_PROJECT\", nothing);\n p === nothing ? nothing : isempty(p) ? nothing : p\n )),\n ## 2. Look for a Project.toml file in the current working directory,\n ## or parent directories, with $HOME as an upper boundary\n Base.current_project(),\n ## 3. First entry in the load path\n get(Base.load_path(), 1, nothing),\n ## 4. Fallback to default global environment,\n ## this is more or less unreachable\n Base.load_path_expand(\"@v#.#\"),\n ))\n end\n @info \"Running language server\" VERSION pwd() project_path depot_path\n server = LanguageServer.LanguageServerInstance(stdin, stdout, project_path, depot_path)\n server.runlinter = true\n run(server)\n "
|
||||
],
|
||||
"desc": "https://github.com/julia-vscode/julia-vscode\n\nLanguageServer.jl can be installed with `julia` and `Pkg`:\n```sh\njulia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add(\"LanguageServer\")'\n```\nwhere `~/.julia/environments/nvim-lspconfig` is the location where\nthe default configuration expects LanguageServer.jl to be installed.\n\nTo update an existing install, use the following command:\n```sh\njulia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.update()'\n```\n\nNote: In order to have LanguageServer.jl pick up installed packages or dependencies in a\nJulia project, you must make sure that the project is instantiated:\n```sh\njulia --project=/path/to/my/project -e 'using Pkg; Pkg.instantiate()'\n```\n ",
|
||||
"desc": "https://github.com/julia-vscode/julia-vscode\n\nLanguageServer.jl can be installed with `julia` and `Pkg`:\n```sh\njulia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add(\"LanguageServer\")'\n```\nwhere `~/.julia/environments/nvim-lspconfig` is the location where\nthe default configuration expects LanguageServer.jl to be installed.\n\nTo update an existing install, use the following command:\n```sh\njulia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.update()'\n```\n\nNote: In order to have LanguageServer.jl pick up installed packages or dependencies in a\nJulia project, you must make sure that the project is instantiated:\n```sh\njulia --project=/path/to/my/project -e 'using Pkg; Pkg.instantiate()'\n```\n\nNote: The julia programming language searches for global environments within the `environments/`\nfolder of `$JULIA_DEPOT_PATH` entries. By default this simply `~/.julia/environments`\n ",
|
||||
"name": "julials"
|
||||
},
|
||||
{
|
||||
|
@ -741,6 +741,11 @@
|
|||
"desc": " A kotlin language server which was developed for internal usage and\n released afterwards. Maintaining is not done by the original author,\n but by fwcd.\n\n It is built via gradle and developed on github.\n Source and additional description:\n https://github.com/fwcd/kotlin-language-server\n\n This server requires vim to be aware of the kotlin-filetype.\n You could refer for this capability to:\n https://github.com/udalov/kotlin-vim (recommended)\n Note that there is no LICENSE specified yet.\n\n For faster startup, you can setup caching by specifying a storagePath\n in the init_options. The default is your home directory.\n ",
|
||||
"name": "kotlin_language_server"
|
||||
},
|
||||
{
|
||||
"cmd": ["kulala-ls", "--stdio"],
|
||||
"desc": "https://github.com/mistweaverco/kulala-ls\n\nA minimal language server for HTTP syntax.\n",
|
||||
"name": "kulala_ls"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"lean-language-server",
|
||||
|
@ -780,7 +785,7 @@
|
|||
},
|
||||
{
|
||||
"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\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",
|
||||
"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.uv.fs_stat(path..'/.luarc.json') or vim.uv.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\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",
|
||||
"name": "lua_ls"
|
||||
},
|
||||
{ "cmd": ["luau-lsp", "lsp"], "name": "luau_lsp" },
|
||||
|
@ -799,6 +804,11 @@
|
|||
"desc": "https://github.com/Feel-ix-343/markdown-oxide\n\nEditor Agnostic PKM: you bring the text editor and we\nbring the PKM.\n\nInspired by and compatible with Obsidian.\n\nCheck the readme to see how to properly setup.\n ",
|
||||
"name": "markdown_oxide"
|
||||
},
|
||||
{
|
||||
"cmd": ["marko-language-server", "--stdio"],
|
||||
"desc": " https://github.com/marko-js/language-server\n\n Using the Language Server Protocol to improve Marko's developer experience.\n\n Can be installed via npm:\n ```\n npm i -g @marko/language-server\n ```\n ",
|
||||
"name": "marko-js"
|
||||
},
|
||||
{
|
||||
"cmd": ["marksman", "server"],
|
||||
"desc": "https://github.com/artempyanykh/marksman\n\nMarksman is a Markdown LSP server providing completion, cross-references, diagnostics, and more.\n\nMarksman works on MacOS, Linux, and Windows and is distributed as a self-contained binary for each OS.\n\nPre-built binaries can be downloaded from https://github.com/artempyanykh/marksman/releases\n",
|
||||
|
@ -1573,6 +1583,11 @@
|
|||
"desc": "https://github.com/uiua-lang/uiua/\n\nThe builtin language server of the Uiua interpreter.\n\nThe Uiua interpreter can be installed with `cargo install uiua`\n",
|
||||
"name": "uiua"
|
||||
},
|
||||
{
|
||||
"cmd": ["ungrammar-languageserver", "--stdio"],
|
||||
"desc": "https://github.com/binhtran432k/ungrammar-language-features\nLanguage Server for Ungrammar.\n\nUngrammar Language Server can be installed via npm:\n```sh\nnpm i ungrammar-languageserver -g\n```\n ",
|
||||
"name": "ungrammar_languageserver"
|
||||
},
|
||||
{
|
||||
"cmd": ["nc", "localhost", "5757"],
|
||||
"desc": "https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown\n\n\n ",
|
||||
|
@ -1652,6 +1667,11 @@
|
|||
"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 util.path.exists(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",
|
||||
"name": "volar"
|
||||
},
|
||||
{
|
||||
"cmd": ["vscoqtop"],
|
||||
"desc": "https://github.com/coq-community/vscoq\n",
|
||||
"name": "vscoqtop"
|
||||
},
|
||||
{
|
||||
"cmd": ["vtsls", "--stdio"],
|
||||
"desc": "https://github.com/yioneko/vtsls\n\n`vtsls` can be installed with npm:\n```sh\nnpm install -g @vtsls/language-server\n```\n\nTo configure a TypeScript project, add a\n[`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)\nor [`jsconfig.json`](https://code.visualstudio.com/docs/languages/jsconfig) to\nthe root of your project.\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue