diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
| commit | f93bad12f1b4feeeee007ceab4a350eb1aa26c1e (patch) | |
| tree | 15b9edf259fc93da70a599dec47de3cfea551a95 /.config/nvim/lua/core/lspinstall.lua | |
| parent | f52dce93777c41671217ced2894c28d6da9114a0 (diff) | |
Updates from lvim, remove legacy
Diffstat (limited to '.config/nvim/lua/core/lspinstall.lua')
| -rw-r--r-- | .config/nvim/lua/core/lspinstall.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/lua/core/lspinstall.lua b/.config/nvim/lua/core/lspinstall.lua new file mode 100644 index 0000000..79c7502 --- /dev/null +++ b/.config/nvim/lua/core/lspinstall.lua @@ -0,0 +1,19 @@ +local M = {} + +M.config = function() + options.builtin.lspinstall = { + active = true, + on_config_done = nil, + } +end + +M.setup = function() + local lspinstall = require "lspinstall" + lspinstall.setup() + + if options.builtin.lspinstall.on_config_done then + options.builtin.lspinstall.on_config_done(lspinstall) + end +end + +return M |