diff options
author | Jongwook Choi <wookayin@gmail.com> | 2023-12-11 04:10:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 01:10:00 -0800 |
commit | 3692fd4c873a2cd7ad69eb09765eed2993570c49 (patch) | |
tree | 629b1f170ab8690df6af2c604e46c0ba8316e67d /runtime/lua/vim/lsp/_meta/protocol.lua | |
parent | 529498685bbcd4783bc0e816d6247118c9ffb9a7 (diff) | |
download | rneovim-3692fd4c873a2cd7ad69eb09765eed2993570c49.tar.gz rneovim-3692fd4c873a2cd7ad69eb09765eed2993570c49.tar.bz2 rneovim-3692fd4c873a2cd7ad69eb09765eed2993570c49.zip |
feat(gen_lsp.lua): validate CLI args #26514
- Improve CLI argument parsing, rejects invalid argument and commands as
early as possible. Also prints USAGE in the command line.
- No longer allows `--<outfile>`, use `--out <outfile>` instead.
- Print a little bit of verbose messages to better know what's going on
rather than remaining silent at all times.
- Add type annotation `gen_lsp._opt` to avoid type warnings.
Diffstat (limited to 'runtime/lua/vim/lsp/_meta/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/_meta/protocol.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/_meta/protocol.lua b/runtime/lua/vim/lsp/_meta/protocol.lua index 72b0f00f65..979dad84fd 100644 --- a/runtime/lua/vim/lsp/_meta/protocol.lua +++ b/runtime/lua/vim/lsp/_meta/protocol.lua @@ -1,7 +1,7 @@ --[[ This file is autogenerated from scripts/gen_lsp.lua Regenerate: -nvim -l scripts/gen_lsp.lua gen --version 3.18 --runtime/lua/vim/lsp/_meta/protocol.lua +nvim -l scripts/gen_lsp.lua gen --version 3.18 --out runtime/lua/vim/lsp/_meta/protocol.lua --]] ---@meta |