aboutsummaryrefslogtreecommitdiffstats
path: root/doc/configs.md
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-10-24 13:34:10 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-10-24 13:34:10 +0000
commita9b2fb560c4ab22c10728fd5149dbd7b62aa4f69 (patch)
tree0ddab385ed87fc82a5fb54f3065be28873a0335a /doc/configs.md
parentfix(julials): accomodate julia 1.12 #4148 (diff)
downloadnvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar.gz
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar.bz2
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar.lz
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar.xz
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.tar.zst
nvim-lspconfig-a9b2fb560c4ab22c10728fd5149dbd7b62aa4f69.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc/configs.md')
-rw-r--r--doc/configs.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 096bbee8..c77c1e6a 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -2403,11 +2403,11 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+gaf0f7b59b1"
+ version = "0.12.0-dev+g095b9f98f3"
},
editorPluginInfo = {
name = "Neovim",
- version = "0.12.0-dev+gaf0f7b59b1"
+ version = "0.12.0-dev+g095b9f98f3"
}
}
```
@@ -6139,12 +6139,12 @@ Default config:
https://github.com/julia-vscode/julia-vscode
-LanguageServer.jl can be installed with `julia` and `Pkg`:
+LanguageServer.jl, SymbolServer.jl and StaticLint.jl can be installed with `julia` and `Pkg`:
```sh
-julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer")'
+julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer#main"); Pkg.add("SymbolServer#master"); Pkg.add("StaticLint#master")'
```
where `~/.julia/environments/nvim-lspconfig` is the location where
-the default configuration expects LanguageServer.jl to be installed.
+the default configuration expects LanguageServer.jl, SymbolServer.jl and StaticLint.jl to be installed.
To update an existing install, use the following command:
```sh
@@ -6168,7 +6168,7 @@ vim.lsp.enable('julials')
Default config:
- `cmd` :
```lua
- { "julia", "--startup-file=no", "--history-file=no", "-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 ' }
+ { "julia", "--startup-file=no", "--history-file=no", "-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, SymbolServer, StaticLint\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 ' }
```
- `filetypes` :
```lua