refactor(lvim): use reload function

chezmoi
sgoudham 2 years ago
parent 0142dc96c8
commit a0cbf123b3
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -1 +1 @@
require("hammy") reload("hammy")

@ -1,10 +1,10 @@
require("hammy.set") reload("hammy.set")
require("hammy.remap") reload("hammy.remap")
require("hammy.formatter") reload("hammy.formatter")
-- require("hammy.linter") -- reload("hammy.linter")
require("hammy.packer") reload("hammy.packer")
require("hammy.lsp") reload("hammy.lsp")
require("hammy.plugin") reload("hammy.plugin")
-- Some "Proper" Custom Configuration -- -- Some "Proper" Custom Configuration --
vim.api.nvim_create_autocmd("BufWritePost", { vim.api.nvim_create_autocmd("BufWritePost", {

@ -1,5 +1,5 @@
require("hammy.lsp.haskell") reload("hammy.lsp.haskell")
require("hammy.lsp.rust") reload("hammy.lsp.rust")
require("lspconfig.ui.windows").default_options.border = "rounded" require("lspconfig.ui.windows").default_options.border = "rounded"

@ -1,8 +1,8 @@
require("hammy.plugin.cmp") reload("hammy.plugin.cmp")
require("hammy.plugin.treesitter") reload("hammy.plugin.treesitter")
require("hammy.plugin.telescope") reload("hammy.plugin.telescope")
require("hammy.plugin.dashboard") reload("hammy.plugin.dashboard")
require("hammy.plugin.nvimtree") reload("hammy.plugin.nvimtree")
-- Enable/Disable Lvim Plugins -- Enable/Disable Lvim Plugins
lvim.builtin.project.active = true lvim.builtin.project.active = true

Loading…
Cancel
Save