From d4aea5659d52c2d07ce0d501a97807f873a6ae9a Mon Sep 17 00:00:00 2001 From: Henrique Borges <31735860+henriquehbr@users.noreply.github.com> Date: Sat, 22 Jan 2022 23:50:19 -0300 Subject: [PATCH] Update user commands definition section --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fe20023..7a03153 100644 --- a/README.md +++ b/README.md @@ -944,11 +944,9 @@ vim.api.nvim_buf_del_keymap(0, 'i', '') ## Defining user commands -There is currently no interface to create user commands in Lua. It is planned, though: +The interface to create user commands was implemented on the PR below and is currently available on neovim 0.7+ (nightly): -- [Pull request #11613](https://github.com/neovim/neovim/pull/11613) - -For the time being, you're probably better off creating commands in Vimscript. +- [Pull request #16752](https://github.com/neovim/neovim/pull/16752) ## Defining autocommands