diff options
author | Jongwook Choi <wookayin@gmail.com> | 2023-12-10 23:50:54 -0500 |
---|---|---|
committer | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2023-12-27 10:48:06 +0100 |
commit | 2f43af6423193eb52e9a6635034f8c79f40f1706 (patch) | |
tree | 350ceddfd682d2f29391e63fed746f3780d7e96b /runtime/lua/vim/lsp/_meta/protocol.lua | |
parent | 3767468b9615b617e252e9e9498e070087fe570f (diff) | |
download | rneovim-2f43af6423193eb52e9a6635034f8c79f40f1706.tar.gz rneovim-2f43af6423193eb52e9a6635034f8c79f40f1706.tar.bz2 rneovim-2f43af6423193eb52e9a6635034f8c79f40f1706.zip |
refactor(gen_lsp.lua): add typing for the LSP protocol JSON data model
Enhance readability and intellisense by incorporating type annotations.
Types are not very strict and may not encompass th entire LSP Protocol
metamodel; the scope is up to what's relevant for generating type
annotations for LSP (`_meta/protocol.lua`).
Based on the model schema:
https://raw.githubusercontent.com/microsoft/language-server-protocol/gh-pages/_specifications/lsp/3.18/metaModel/metaModel.schema.json
No behavioral changes (and hence no diff on _meta/protocol.lua) should
exist in this commit.
Diffstat (limited to 'runtime/lua/vim/lsp/_meta/protocol.lua')
0 files changed, 0 insertions, 0 deletions