This commit is contained in:
Timothée Sterle 2022-02-04 23:27:23 +01:00
parent f0be3f8c3b
commit 11b268ef73
No known key found for this signature in database
GPG Key ID: 136D558122196ED5

View File

@ -957,12 +957,7 @@ The interface to create user commands was implemented in the PR below and is cur
## Defining autocommands ## Defining autocommands
Augroups and autocommands do not have an interface yet but it is being worked on: **TODO**
- [Pull request #12378](https://github.com/neovim/neovim/pull/12378)
- [Pull request #14661](https://github.com/neovim/neovim/pull/14661) (lua: autocmds take 2)
In the meantime, you can either create autocommands in Vimscript or use [this wrapper from norcalli/nvim_utils](https://github.com/norcalli/nvim_utils/blob/master/lua/nvim_utils.lua#L554-L567)
## Defining syntax/highlights ## Defining syntax/highlights