feat: Hook based overrides

This commit is contained in:
Morten Olsen 2021-08-31 16:20:57 +02:00 committed by siduck76
parent bfc10e6034
commit eced5f2ec4
3 changed files with 44 additions and 2 deletions

View file

@ -1,2 +1,11 @@
-- This is where you custom modules and plugins goes.
-- See the wiki for a guide on how to extend NvChad
local hooks = require "core.hooks"
-- For example, the hook below overrieds 'publish_diagnostics' in the 'lspconfig' file,
--
-- hooks.override("lsp", "publish_diagnostics", function(current)
-- current.virtual_text = false;
-- return current;
-- end)