You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/configs.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2403,11 +2403,11 @@ Default config:
2403
2403
{
2404
2404
editorInfo = {
2405
2405
name = "Neovim",
2406
-
version = "0.12.0-dev+gaf0f7b59b1"
2406
+
version = "0.12.0-dev+g095b9f98f3"
2407
2407
},
2408
2408
editorPluginInfo = {
2409
2409
name = "Neovim",
2410
-
version = "0.12.0-dev+gaf0f7b59b1"
2410
+
version = "0.12.0-dev+g095b9f98f3"
2411
2411
}
2412
2412
}
2413
2413
```
@@ -6139,12 +6139,12 @@ Default config:
6139
6139
6140
6140
https://github.com/julia-vscode/julia-vscode
6141
6141
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`:
6143
6143
```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")'
6145
6145
```
6146
6146
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.
6148
6148
6149
6149
To update an existing install, use the following command:
6150
6150
```sh
@@ -6168,7 +6168,7 @@ vim.lsp.enable('julials')
6168
6168
Default config:
6169
6169
- `cmd` :
6170
6170
```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 ' }
Copy file name to clipboardExpand all lines: doc/configs.txt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1572,11 +1572,11 @@ Default config:
1572
1572
{
1573
1573
editorInfo = {
1574
1574
name = "Neovim",
1575
-
version = "0.12.0-dev+gaf0f7b59b1"
1575
+
version = "0.12.0-dev+g095b9f98f3"
1576
1576
},
1577
1577
editorPluginInfo = {
1578
1578
name = "Neovim",
1579
-
version = "0.12.0-dev+gaf0f7b59b1"
1579
+
version = "0.12.0-dev+g095b9f98f3"
1580
1580
}
1581
1581
}
1582
1582
- on_attach (use "gF" to view): ../lsp/copilot.lua:106
@@ -4422,10 +4422,10 @@ julials
4422
4422
4423
4423
https://github.com/julia-vscode/julia-vscode
4424
4424
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")'
4427
4427
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.
4429
4429
4430
4430
To update an existing install, use the following command >sh
4431
4431
julia --project=~/.julia/environments/nvim-lspconfig -e 'using Pkg; Pkg.update()'
@@ -4443,7 +4443,7 @@ Snippet to enable the language server: >lua
4443
4443
4444
4444
Default config:
4445
4445
- 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 ' }
4447
4447
- filetypes: >lua
4448
4448
{ "julia" }
4449
4449
- on_attach (use "gF" to view): ../lsp/julials.lua:120
0 commit comments