Skip to content

Commit a9b2fb5

Browse files
docs: update configs.md
skip-checks: true
1 parent 3ddd55a commit a9b2fb5

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

doc/configs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,11 +2403,11 @@ Default config:
24032403
{
24042404
editorInfo = {
24052405
name = "Neovim",
2406-
version = "0.12.0-dev+gaf0f7b59b1"
2406+
version = "0.12.0-dev+g095b9f98f3"
24072407
},
24082408
editorPluginInfo = {
24092409
name = "Neovim",
2410-
version = "0.12.0-dev+gaf0f7b59b1"
2410+
version = "0.12.0-dev+g095b9f98f3"
24112411
}
24122412
}
24132413
```
@@ -6139,12 +6139,12 @@ Default config:
61396139

61406140
https://github.com/julia-vscode/julia-vscode
61416141

6142-
LanguageServer.jl can be installed with `julia` and `Pkg`:
6142+
LanguageServer.jl, SymbolServer.jl and StaticLint.jl can be installed with `julia` and `Pkg`:
61436143
```sh
6144-
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer")'
6144+
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer#main"); Pkg.add("SymbolServer#master"); Pkg.add("StaticLint#master")'
61456145
```
61466146
where `~/.julia/environments/nvim-lspconfig` is the location where
6147-
the default configuration expects LanguageServer.jl to be installed.
6147+
the default configuration expects LanguageServer.jl, SymbolServer.jl and StaticLint.jl to be installed.
61486148

61496149
To update an existing install, use the following command:
61506150
```sh
@@ -6168,7 +6168,7 @@ vim.lsp.enable('julials')
61686168
Default config:
61696169
- `cmd` :
61706170
```lua
6171-
{ "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 ' }
6171+
{ "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 ' }
61726172
```
61736173
- `filetypes` :
61746174
```lua

doc/configs.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,11 +1572,11 @@ Default config:
15721572
{
15731573
editorInfo = {
15741574
name = "Neovim",
1575-
version = "0.12.0-dev+gaf0f7b59b1"
1575+
version = "0.12.0-dev+g095b9f98f3"
15761576
},
15771577
editorPluginInfo = {
15781578
name = "Neovim",
1579-
version = "0.12.0-dev+gaf0f7b59b1"
1579+
version = "0.12.0-dev+g095b9f98f3"
15801580
}
15811581
}
15821582
- on_attach (use "gF" to view): ../lsp/copilot.lua:106
@@ -4422,10 +4422,10 @@ julials
44224422

44234423
https://github.com/julia-vscode/julia-vscode
44244424

4425-
LanguageServer.jl can be installed with `julia` and `Pkg` >sh
4426-
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer")'
4425+
LanguageServer.jl, SymbolServer.jl and StaticLint.jl can be installed with `julia` and `Pkg` >sh
4426+
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.add("LanguageServer#main"); Pkg.add("SymbolServer#master"); Pkg.add("StaticLint#master")'
44274427
where `~/.julia/environments/nvim-lspconfig` is the location where
4428-
the default configuration expects LanguageServer.jl to be installed.
4428+
the default configuration expects LanguageServer.jl, SymbolServer.jl and StaticLint.jl to be installed.
44294429

44304430
To update an existing install, use the following command >sh
44314431
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.update()'
@@ -4443,7 +4443,7 @@ Snippet to enable the language server: >lua
44434443

44444444
Default config:
44454445
- cmd: >lua
4446-
{ "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 ' }
4446+
{ "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 ' }
44474447
- filetypes: >lua
44484448
{ "julia" }
44494449
- on_attach (use "gF" to view): ../lsp/julials.lua:120

0 commit comments

Comments
 (0)