feat: Hook based overrides
This commit is contained in:
parent
bfc10e6034
commit
eced5f2ec4
3 changed files with 44 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue