mirror of
https://github.com/nanotee/nvim-lua-guide
synced 2024-11-11 01:10:31 +00:00
WIP
This commit is contained in:
parent
f0be3f8c3b
commit
11b268ef73
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user