diff options
author | Marek Filipowicz <[email protected]> | 2021-06-26 19:15:02 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-26 13:15:02 -0400 |
commit | a9e904711843374d85ca8a454fd70fc9890180ad (patch) | |
tree | b216b5706d09c20e87817892fe5b99b2677b9589 /lua/lv-lspinstall/init.lua | |
parent | 19003f7577f360b5b2ced84ac1e23202660d0f79 (diff) |
feat(java): Replace the current custom installation of java, with lspinstall (#517)
Diffstat (limited to 'lua/lv-lspinstall/init.lua')
-rw-r--r-- | lua/lv-lspinstall/init.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/lv-lspinstall/init.lua b/lua/lv-lspinstall/init.lua index 34a9fe62..bc1469a5 100644 --- a/lua/lv-lspinstall/init.lua +++ b/lua/lv-lspinstall/init.lua @@ -5,15 +5,15 @@ require'lspconfig/configs'.jdtls = nil -- important, unset the loaded config aga -- config.default_config.cmd[1] = "./node_modules/.bin/bash-language-server" -- 2. extend the config with an install_script and (optionally) uninstall_script -require'lspinstall/servers'.jdtls = vim.tbl_extend('error', config, { - -- lspinstall will automatically create/delete the install directory for every server - install_script = [[ - git clone https://github.com/eclipse/eclipse.jdt.ls.git - cd eclipse.jdt.ls - ./mvnw clean verify - ]], - uninstall_script = nil -- can be omitted -}) +-- require'lspinstall/servers'.jdtls = vim.tbl_extend('error', config, { +-- -- lspinstall will automatically create/delete the install directory for every server +-- install_script = [[ +-- git clone https://github.com/eclipse/eclipse.jdt.ls.git +-- cd eclipse.jdt.ls +-- ./mvnw clean verify +-- ]], +-- uninstall_script = nil -- can be omitted +-- }) require'lspinstall/servers'.kotlin = vim.tbl_extend('error', config, { install_script = [[ |