summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/cfg/lspinstall/init.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 14:10:25 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 14:10:25 +0200
commit409dfed3237f9f0a6e96879078d1daf3d9c02e03 (patch)
treefd340e6803212b5ae401e2d6a1b524c412498663 /.config/nvim/lua/cfg/lspinstall/init.lua
parent4918f8747e2d3e4d3342bb1f5ee05db6198819d1 (diff)
Updated config again after Chris's updates
Diffstat (limited to '.config/nvim/lua/cfg/lspinstall/init.lua')
-rw-r--r--.config/nvim/lua/cfg/lspinstall/init.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/.config/nvim/lua/cfg/lspinstall/init.lua b/.config/nvim/lua/cfg/lspinstall/init.lua
index 68fcfa2..af5e175 100644
--- a/.config/nvim/lua/cfg/lspinstall/init.lua
+++ b/.config/nvim/lua/cfg/lspinstall/init.lua
@@ -1,27 +1 @@
--- 1. get the config for this server from nvim-lspconfig and adjust the cmd path.
--- relative paths are allowed, lspinstall automatically adjusts the cmd and cmd_cwd for us!
-local config = require("lspconfig").jdtls.document_config
-require("lspconfig/configs").jdtls = nil -- important, unset the loaded config again
--- 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'.kotlin = vim.tbl_extend('error', config, {
--- install_script = [[
--- git clone https://github.com/fwcd/kotlin-language-server.git language-server
--- cd language-server
--- ./gradlew :server:installDist
--- ]],
--- uninstall_script = nil -- can be omitted
--- })
-
require("lspinstall").setup()