summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/java_language_server.lua
blob: 3ddf4b1b4c3961a7284cba4650bcfcecd97d1098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local util = require 'lspconfig.util'

return {
  default_config = {
    filetypes = { 'java' },
    root_dir = util.root_pattern('build.gradle', 'pom.xml', '.git'),
    settings = {},
  },
  docs = {
    description = [[
https://github.com/georgewfraser/java-language-server

Java language server

Point `cmd` to `lang_server_linux.sh` or the equivalent script for macOS/Windows provided by java-language-server
]],
  },
}