refactor(lsp): change capability name to snake case

This commit is contained in:
Yi Ming
2025-07-21 13:02:19 +08:00
parent 7c3e579a90
commit a37e101dc7
3 changed files with 5 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ local Capability = require('vim.lsp._capability')
---
--- Index in the form of start_row -> collapsed_text
---@field row_text table<integer, string?>
local State = { name = 'Folding Range', active = {} }
local State = { name = 'folding_range', active = {} }
State.__index = State
setmetatable(State, Capability)