diff options
| author | William Boman <william@redwill.se> | 2021-11-04 13:50:01 +0100 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-11-04 13:50:17 +0100 |
| commit | 0e0e2488472aa78131600169ff2264e381b72b2e (patch) | |
| tree | cb512dd9c3ab468a602381178d4ca9b7fa8f136f /lua | |
| parent | fix: add server setup example (#192) (diff) | |
| download | mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar.gz mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar.bz2 mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar.lz mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar.xz mason-0e0e2488472aa78131600169ff2264e381b72b2e.tar.zst mason-0e0e2488472aa78131600169ff2264e381b72b2e.zip | |
groovy: build in final root directory
Fixes #241.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/groovyls/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/groovyls/init.lua b/lua/nvim-lsp-installer/servers/groovyls/init.lua index a895f566..d58b93dd 100644 --- a/lua/nvim-lsp-installer/servers/groovyls/init.lua +++ b/lua/nvim-lsp-installer/servers/groovyls/init.lua @@ -1,6 +1,7 @@ local server = require "nvim-lsp-installer.server" local path = require "nvim-lsp-installer.path" local std = require "nvim-lsp-installer.installers.std" +local context = require "nvim-lsp-installer.installers.context" return function(name, root_dir) return server.Server:new { @@ -10,6 +11,7 @@ return function(name, root_dir) installer = { std.ensure_executables { { "javac", "javac was not found in path." } }, std.git_clone "https://github.com/GroovyLanguageServer/groovy-language-server", + context.promote_install_dir(), std.gradlew { args = { "build" }, }, |
