aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2023-12-10 23:50:54 -0500
committerMathias Fußenegger <mfussenegger@users.noreply.github.com>2023-12-27 10:48:06 +0100
commit2f43af6423193eb52e9a6635034f8c79f40f1706 (patch)
tree350ceddfd682d2f29391e63fed746f3780d7e96b /runtime/lua/vim/lsp/util.lua
parent3767468b9615b617e252e9e9498e070087fe570f (diff)
downloadrneovim-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/util.lua')
0 files changed, 0 insertions, 0 deletions