aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/groovyls.lua
blob: e66b8326ec131c7161f99658923143d3507c7112 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'

configs.groovyls = {
  default_config = {
    cmd = {"/home/wuilliam.lacruz/.sdkman/candidates/java/current/bin/java -jar /home/wuilliam.lacruz/groovyls/build/libs/groovyls-all.jar"};
    filetypes = {"groovy", "gsp"};
    root_dir = util.root_pattern("grails-app", ".git");
  };
  -- on_new_config = function(new_config) end;
  -- on_attach = function(client, bufnr) end;
  docs = {
    description = [[
https://github.com/prominic/groovy-language-server

Groovy Language Server
]];
    default_config = {
      root_dir = [[root_pattern("grails-app", ".git")]];
    };
  };
}
-- vim:et ts=2 sw=2