diff options
| author | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-29 10:42:00 +0600 |
|---|---|---|
| committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-29 10:52:30 +0600 |
| commit | 9988d2f214963b3cac70026d6ad4bb058837afd9 (patch) | |
| tree | 0078fb640f97b5c14e38ae64fbb68519612b9553 /runtime/lua/vim/lsp/diagnostic.lua | |
| parent | 081eb72a80afd83398465382171765bdeaf6dba5 (diff) | |
| download | rneovim-9988d2f214963b3cac70026d6ad4bb058837afd9.tar.gz rneovim-9988d2f214963b3cac70026d6ad4bb058837afd9.tar.bz2 rneovim-9988d2f214963b3cac70026d6ad4bb058837afd9.zip | |
feat(nvim_create_user_command): pass structured modifiers to commands
Adds an `smods` key to `nvim_create_user_command` Lua command callbacks,
which has command modifiers but in a structured format. This removes the
need to manually parse command modifiers. It also reduces friction in
using `nvim_cmd` inside a Lua command callback.
Diffstat (limited to 'runtime/lua/vim/lsp/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions
