From 0902ede7b1d4c7edb8b039235456d552aaf44679 Mon Sep 17 00:00:00 2001 From: ChrHorn Date: Tue, 15 Mar 2022 02:41:36 +0100 Subject: simplify Julia config (#1811) * simplify Julia config * remove trailing whitespace--- languages.toml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/languages.toml b/languages.toml index c54eabba..4bda7136 100644 --- a/languages.toml +++ b/languages.toml @@ -464,21 +464,13 @@ file-types = ["jl"] roots = [] comment-token = "#" language-server = { command = "julia", args = [ - "--startup-file=no", - "--history-file=no", - "--quiet", - "-e", - """ - using LanguageServer; - using Pkg; - import StaticLint; - env_path = dirname(Pkg.Types.Context().env.project_file); - server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, ""); - server.runlinter = true; - run(server); - """, - ] } -indent = { tab-width = 2, unit = " " } + "--startup-file=no", + "--history-file=no", + "--quiet", + "-e", + "using LanguageServer; runserver()", + ] } +indent = { tab-width = 4, unit = " " } [[grammar]] name = "julia" -- cgit v1.2.3-70-g09d2