Skip to content

Commit 803bc18

Browse files
awilkinsAdrian Wilkins
andauthored
docs: Explain more about how to add and remove autocmds (nvim-lua#105)
Co-authored-by: Adrian Wilkins <adrian.wilkins.contractor@dvla.gov.uk>
1 parent 7a10a75 commit 803bc18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/config/autocmds.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
-- Autocmds are automatically loaded on the VeryLazy event
22
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
3+
--
34
-- Add any additional autocmds here
5+
-- with `vim.api.nvim_create_autocmd`
6+
--
7+
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
8+
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")

0 commit comments

Comments
 (0)