diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-07 01:05:06 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-07 01:05:06 +0200 |
commit | 0111b31cb0008f4fcc55ddc373e63f124652b156 (patch) | |
tree | 075490fb19c4838fc58129da9f902a3370f6029e /.config/nvim/lua/_lspinstall/init.lua | |
parent | 6fcc69113bd7cc7295ef9dc068da80d043cbb8bb (diff) |
Updated config based on Chris LunarVim release
Diffstat (limited to '.config/nvim/lua/_lspinstall/init.lua')
-rw-r--r-- | .config/nvim/lua/_lspinstall/init.lua | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/.config/nvim/lua/_lspinstall/init.lua b/.config/nvim/lua/_lspinstall/init.lua deleted file mode 100644 index 34a9fe6..0000000 --- a/.config/nvim/lua/_lspinstall/init.lua +++ /dev/null @@ -1,27 +0,0 @@ --- 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() |