From 067c6cc7fc4b56fb1aab2946decdd506cc8f7409 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 19 Nov 2021 09:28:09 +0530 Subject: [PATCH] Delete example_init.lua --- lua/custom/example_init.lua | 44 ------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 lua/custom/example_init.lua diff --git a/lua/custom/example_init.lua b/lua/custom/example_init.lua deleted file mode 100644 index 51e3dcb..0000000 --- a/lua/custom/example_init.lua +++ /dev/null @@ -1,44 +0,0 @@ --- This is where your custom modules and plugins go. --- See the wiki for a guide on how to extend NvChad - -local hooks = require "core.hooks" - --- NOTE: To use this, make a copy with `cp example_init.lua init.lua` - --------------------------------------------------------------------- - --- To modify packaged plugin configs, use the overrides functionality --- if the override does not exist in the plugin config, make or request a PR, --- or you can override the whole plugin config with 'chadrc' -> M.plugins.default_plugin_config_replace{} --- this will run your config instead of the NvChad config for the given plugin - --- hooks.override("lsp", "publish_diagnostics", function(current) --- current.virtual_text = false; --- return current; --- end) - --- To add new mappings, use the "setup_mappings" hook, --- you can set one or many mappings --- example below: - --- hooks.add("setup_mappings", function(map) --- map("n", "cc", "gg0vG$d", opt) -- example to delete the buffer --- .... many more mappings .... --- end) - --- To add new plugins, use the "install_plugin" hook, --- NOTE: we heavily suggest using Packer's lazy loading (with the 'event' field) --- see: https://github.com/wbthomason/packer.nvim --- examples below: - --- hooks.add("install_plugins", function(use) --- use { --- "max397574/better-escape.nvim", --- event = "InsertEnter", --- } --- end) - --- alternatively, put this in a sub-folder like "lua/custom/plugins/mkdir" --- then source it with - --- require "custom.plugins.mkdir"