aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorKirawi2021-08-10 05:09:57 +0000
committerGitHub2021-08-10 05:09:57 +0000
commitb239f0f45ffd0993cffc2a676651a0770b705fb5 (patch)
tree9221d01e030f1418abccedfae8d36e8ff449bb84 /languages.toml
parent86209c93a3569c9c152bd8b1c66798a78a1b9317 (diff)
add java highlighting (#448)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 8cd092e4..15d78a1a 100644
--- a/languages.toml
+++ b/languages.toml
@@ -197,6 +197,14 @@ comment-token = "#"
language-server = { command = "julia", args = [ "--startup-file=no", "--history-file=no", "-e", "using LanguageServer;using Pkg;import StaticLint;import SymbolServer;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 = " " }
+[[language]]
+name = "java"
+scope = "source.java"
+injection-regex = "java"
+file-types = ["java"]
+roots = []
+indent = { tab-width = 4, unit = " " }
+
# [[language]]
# name = "haskell"
# scope = "source.haskell"