chore: format source code
This commit is contained in:
parent
ee586047e5
commit
3d0a0e53f7
4 changed files with 37 additions and 41 deletions
|
|
@ -10,29 +10,25 @@ local hooks = require "core.hooks"
|
|||
-- 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
|
||||
-- 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", "<leader>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
|
||||
-- see: https://github.com/wbthomason/packer.nvim
|
||||
-- examples below:
|
||||
|
||||
-- hooks.add("install_plugins", function(use)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue