diff options
| author | Chris <[email protected]> | 2021-07-09 11:33:19 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-09 11:33:19 -0400 | 
| commit | b157f8f4b885693dd60c1d67c655a35fcf754b2f (patch) | |
| tree | 3a8ac774a5862200a3a2a43f9d577d23ba251c5f /ftplugin | |
| parent | b2d4207543a96911854055b7f1f36aaab6437f2b (diff) | |
java updates
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/java.lua | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/ftplugin/java.lua b/ftplugin/java.lua index 0aedbf06..bba968b9 100644 --- a/ftplugin/java.lua +++ b/ftplugin/java.lua @@ -5,16 +5,13 @@ end  if O.lang.java.java_tools.active then    -- find_root looks for parent directories relative to the current buffer containing one of the given arguments.    if vim.fn.has "mac" == 1 then -    JAVA_LS_EXECUTABLE = CONFIG_PATH .. "/utils/bin/java-mac-ls"      WORKSPACE_PATH = "/Users/" .. USER .. "/workspace/"    elseif vim.fn.has "unix" == 1 then -    JAVA_LS_EXECUTABLE = CONFIG_PATH .. "/utils/bin/java-linux-ls"      WORKSPACE_PATH = "/home/" .. USER .. "/workspace/"    else      print "Unsupported system"    end -  print(JAVA_LS_EXECUTABLE) -  print(WORKSPACE_PATH) +  JAVA_LS_EXECUTABLE = CONFIG_PATH .. "/utils/bin/jdtls"    require("jdtls").start_or_attach {      on_attach = require("lsp").common_on_attach, | 
