Initial commit

This commit is contained in:
Price Hiller 2021-11-10 22:51:35 -06:00
commit 903fba6d12
4 changed files with 50 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "NvChad"]
path = NvChad
url = https://github.com/NvChad/NvChad

1
NvChad Submodule

@ -0,0 +1 @@
Subproject commit fd668e559ed6ccfdd565e3f43a7ae1c6efc16582

17
NvChad-Confs/chadrc.lua Normal file
View File

@ -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

29
NvChad-Confs/init.lua Normal file
View File

@ -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)