commit 903fba6d12f6ca1c3b05afc0a4059b3bf839ed98 Author: Price Hiller Date: Wed Nov 10 22:51:35 2021 -0600 Initial commit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ecd61c1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "NvChad"] + path = NvChad + url = https://github.com/NvChad/NvChad diff --git a/NvChad b/NvChad new file mode 160000 index 0000000..fd668e5 --- /dev/null +++ b/NvChad @@ -0,0 +1 @@ +Subproject commit fd668e559ed6ccfdd565e3f43a7ae1c6efc16582 diff --git a/NvChad-Confs/chadrc.lua b/NvChad-Confs/chadrc.lua new file mode 100644 index 0000000..df91eeb --- /dev/null +++ b/NvChad-Confs/chadrc.lua @@ -0,0 +1,17 @@ +local M = {} +M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} + +M.ui = { + theme = "tokyonight", + transparency = true, +} + +M.plugins = { + options = {}, + status = { + dashboard = true, + }, + default_plugin_config_replace = {}, +} + +return M diff --git a/NvChad-Confs/init.lua b/NvChad-Confs/init.lua new file mode 100644 index 0000000..f05f59a --- /dev/null +++ b/NvChad-Confs/init.lua @@ -0,0 +1,29 @@ +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)