mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
simplify Julia config (#1811)
* simplify Julia config * remove trailing whitespace
This commit is contained in:
parent
9400d74307
commit
0902ede7b1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user