Neovim_Backup/NvChad-Confs/init.lua
2021-11-10 22:51:35 -06:00

30 lines
639 B
Lua

local hooks = require "core.hooks"
hooks.add("install_plugins", function(use)
use {
"neovim/nvim-lspconfig",
"williamboman/nvim-lsp-installer",
config = function()
local lsp_installer = require("nvim-lsp-installer")
lsp_installer.on_server_ready(function(server)
local opts = {}
server:setup(opts)
vim.cmd [[ do User LspAttachBuffers ]]
end)
end,
}
use {
"karb94/neoscroll.nvim",
opt = true,
config = function()
require("neoscroll").setup()
end,
setup = function()
require("core.utils").packer_lazy_load "neoscroll.nvim"
end,
}
end)