diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2025-04-17 10:21:41 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2025-04-17 11:40:45 +0100 |
| commit | d7e0d46ffa8f9f1eaf27f8b7ee32ef9a21cb9b84 (patch) | |
| tree | 55cdf623a8f966e8f24e9a34bd9338ae9179392c /runtime/lua/_vim9script.lua | |
| parent | 34b4df774d4fb5653422d6a1c1e730ef8565a315 (diff) | |
| download | rneovim-d7e0d46ffa8f9f1eaf27f8b7ee32ef9a21cb9b84.tar.gz rneovim-d7e0d46ffa8f9f1eaf27f8b7ee32ef9a21cb9b84.tar.bz2 rneovim-d7e0d46ffa8f9f1eaf27f8b7ee32ef9a21cb9b84.zip | |
feat(lsp): use stricter types for methods
This change modifies gen_lsp.lua so alias types are generated for
various types of lsp methods to distinguish between notifications
and requests:
- vim.lsp.protocol.Method.ServerToClient.Request
- vim.lsp.protocol.Method.ServerToClient.Notification
- vim.lsp.protocol.Method.ClientToServer.Request
- vim.lsp.protocol.Method.ClientToServer.Notification
These types are then used instead of `string` where appropriate.
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions