refactor(lsp): gen_lsp

- Simplify usage:
  - Instead of `nvim -l src/gen/gen_lsp.lua gen` now just
    run `./src/gen/gen_lsp.lua`

- Removed `--methods` and `--capabilities` options.

- Improved rendering code in various areas.
This commit is contained in:
Lewis Russell
2025-04-17 11:41:38 +01:00
committed by Lewis Russell
parent d7e0d46ffa
commit 2fcdeb0128
3 changed files with 250 additions and 294 deletions

View File

@@ -1,11 +1,11 @@
--[[
THIS FILE IS GENERATED by scr/gen/gen_lsp.lua
THIS FILE IS GENERATED by src/gen/gen_lsp.lua
DO NOT EDIT MANUALLY
Based on LSP protocol 3.18
Regenerate:
nvim -l scr/gen/gen_lsp.lua gen --version 3.18
nvim -l src/gen/gen_lsp.lua --version 3.18
--]]
---@meta