Simplify structure for nvim config files
This commit is contained in:
@@ -1 +1,13 @@
|
||||
require("david_standard")
|
||||
local csGroup = vim.api.nvim_create_augroup("coreSettingsGroup", { clear = true })
|
||||
local csgAutocmd = vim.api.nvim_create_autocmd
|
||||
|
||||
require("settings")
|
||||
require("plugin_manager")
|
||||
require("key_mappings")
|
||||
require("colorscheme_settings")
|
||||
|
||||
csgAutocmd({"BufWritePre"}, {
|
||||
group = csGroup,
|
||||
pattern = "*",
|
||||
command = [[%s/\s\+$//e]],
|
||||
})
|
||||
|
Reference in New Issue
Block a user