From 0a438b61a997277d6526af760502ea2483dedacd Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Sat, 9 Mar 2024 19:06:33 +0100 Subject: [PATCH 1/4] WIP: add julia support. --- config.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config.lua b/config.lua index 237a2a8..0b07034 100644 --- a/config.lua +++ b/config.lua @@ -429,6 +429,19 @@ lspconfig.kotlin_language_server = add_lsp { verbose = false } +---# Julia - LanguageServer.jl +--- __Status__: Works ? +--- __Site__: https://github.com/julia-vscode/LanguageServer.jl/ +--- __Installation__: Install the Julia language on your system with the LanguageServer.jl package. +lspconfig.julia_lsp = add_lsp { + name = "julia_ls", + language = "julia", + file_patterns = { "%.jl$", "%.julia$" }, + command = { "julia", "--startup-file=no", "--history-file=no", "--quiet", "-e", "using LanguageServer; runserver()" }, + quit_timeout = 60, + verbose = true +} + ---# XML --- __Status__: Works --- __Site__: https://github.com/eclipse/lemminx From 034302484bd879f28cc0e3b484fefe99dfd4f7eb Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Sat, 9 Mar 2024 19:16:26 +0100 Subject: [PATCH 2/4] Updated installation instructions. --- config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 0b07034..341535e 100644 --- a/config.lua +++ b/config.lua @@ -432,7 +432,7 @@ lspconfig.kotlin_language_server = add_lsp { ---# Julia - LanguageServer.jl --- __Status__: Works ? --- __Site__: https://github.com/julia-vscode/LanguageServer.jl/ ---- __Installation__: Install the Julia language on your system with the LanguageServer.jl package. +--- __Installation__: Install julia on your system, then enter the julia console with 'julia', then install the julia lsp server with 'Import Pkg; Pkg.add("LanguageServer")' lspconfig.julia_lsp = add_lsp { name = "julia_ls", language = "julia", From 650241db53da2b39acdfa5899b9d43b78c82c500 Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Sat, 9 Mar 2024 20:22:30 +0100 Subject: [PATCH 3/4] Fixed typo --- config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 341535e..6da378c 100644 --- a/config.lua +++ b/config.lua @@ -431,7 +431,7 @@ lspconfig.kotlin_language_server = add_lsp { ---# Julia - LanguageServer.jl --- __Status__: Works ? ---- __Site__: https://github.com/julia-vscode/LanguageServer.jl/ +--- __Site__: https://github.com/julia-vscode/LanguageServer.jl --- __Installation__: Install julia on your system, then enter the julia console with 'julia', then install the julia lsp server with 'Import Pkg; Pkg.add("LanguageServer")' lspconfig.julia_lsp = add_lsp { name = "julia_ls", From c1318f083a640bd6c5cc603a79bdb06b2d4ee5b0 Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Sun, 10 Mar 2024 18:36:41 +0100 Subject: [PATCH 4/4] Updated julia lsp entry. --- config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.lua b/config.lua index 6da378c..3916232 100644 --- a/config.lua +++ b/config.lua @@ -430,9 +430,9 @@ lspconfig.kotlin_language_server = add_lsp { } ---# Julia - LanguageServer.jl ---- __Status__: Works ? +--- __Status__: Works --- __Site__: https://github.com/julia-vscode/LanguageServer.jl ---- __Installation__: Install julia on your system, then enter the julia console with 'julia', then install the julia lsp server with 'Import Pkg; Pkg.add("LanguageServer")' +--- __Installation__: Install julia on your system, enter the julia console with 'julia', then install the julia lsp server with ']add LanguageServer' lspconfig.julia_lsp = add_lsp { name = "julia_ls", language = "julia",