From dc8ac0536d1b2df41cd26469c352a7af057e9a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Sterle?= Date: Fri, 4 Feb 2022 23:25:36 +0100 Subject: [PATCH] WIP --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c18e00f..ac1d8ae 100644 --- a/README.md +++ b/README.md @@ -964,13 +964,11 @@ Augroups and autocommands do not have an interface yet but it is being worked on 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 highlights -The syntax API is still a work in progress. Here are a couple of pointers: +### API functions -- [Issue #9876](https://github.com/neovim/neovim/issues/9876) -- [tjdevries/colorbuddy.vim, a library for creating colorschemes in Lua](https://github.com/tjdevries/colorbuddy.vim) -- [`:help lua-treesitter`](https://neovim.io/doc/user/treesitter.html#lua-treesitter) +**TODO**: nvim_set_hl()/nvim_buf_set_hl() ## General tips and recommendations