Repository: neovim/neovim
File: runtime/lua/vim/lsp/protocol.lua (Lua)

Code before:
  ['textDocument/rename'] = true,
  ['textDocument/selectionRange'] = true,
  ['textDocument/semanticTokens/full'] = true,
  ['textDocument/semanticTokens/full/delta'] = true,
  ['textDocument/signatureHelp'] = true,
  ['textDocument/typeDefinition'] = true,
  ['textDocument/willSave'] = true,
  ['textDocument/willSaveWaitUntil'] = true,
  ['workspace/didChangeConfiguration'] = true,
  ['workspace/didChangeWatchedFiles'] = true,
  ['workspace/didChangeWorkspaceFolders'] = true,
  ['workspace/didCreateFiles'] = true,
  ['workspace/didDeleteFiles'] = true,
  ['workspace/didRenameFiles'] = true,
  ['workspace/executeCommand'] = true,
  ['workspace/symbol'] = true,
  ['workspace/textDocumentContent'] = true,
  ['workspace/willCreateFiles'] = true,
  ['workspace/willDeleteFiles'] = true,
  ['workspace/willRenameFiles'] = true,
}
-- stylua: ignore end

-- stylua: ignore start
-- Generated by gen_lsp.lua, keep at end of file.
protocol._method_allows_static_registration = {
  ['textDocument/codeAction'] = true,
  ['textDocument/codeLens'] = true,
  ['textDocument/colorPresentation'] = true,
  ['textDocument/completion'] = true,
  ['textDocument/declaration'] = true,
  ['textDocument/definition'] = true,
  ['textDocument/diagnostic'] = true,
  ['textDocument/didChange'] = true,
  ['textDocument/documentColor'] = true,
  ['textDocument/documentHighlight'] = true,
  ['textDocument/documentLink'] = true,
  ['textDocument/documentSymbol'] = true,
  ['textDocument/foldingRange'] = true,
  ['textDocument/formatting'] = true,
  ['textDocument/hover'] = true,
  ['textDocument/implementation'] = true,
  ['textDocument/inlayHint'] = true,
  ['textDocument/inlineCompletion'] = true,
  ['textDocument/inlineValue'] = true,
  ['textDocument/linkedEditingRange'] = true,
  ['textDocument/moniker'] = true,
  ['textDocument/onTypeFormatting'] = true,
  ['textDocument/prepareCallHierarchy'] = true,
  ['textDocument/prepareTypeHierarchy'] = true,
  ['textDocument/rangeFormatting'] = true,

Review comment (suggestion):
is there a difference between "allow" vs "supports" (`_method_supports_dynamic_registration`)? if not can we use consistent names. 

Code after:
  ['textDocument/prepareTypeHierarchy'] = true,
  ['textDocument/rangeFormatting'] = true,
  ['textDocument/rangesFormatting'] = true,
  ['textDocument/references'] = true,
  ['textDocument/rename'] = true,
  ['textDocument/selectionRange'] = true,
  ['textDocument/semanticTokens/full'] = true,
  ['textDocument/semanticTokens/full/delta'] = true,
  ['textDocument/semanticTokens/range'] = true,
  ['textDocument/signatureHelp'] = true,
  ['textDocument/typeDefinition'] = true,
  ['textDocument/willSave'] = true,
  ['textDocument/willSaveWaitUntil'] = true,
  ['workspace/didChangeConfiguration'] = true,
  ['workspace/didChangeWatchedFiles'] = true,
  ['workspace/didChangeWorkspaceFolders'] = true,
  ['workspace/didCreateFiles'] = true,
  ['workspace/didDeleteFiles'] = true,
  ['workspace/didRenameFiles'] = true,
  ['workspace/executeCommand'] = true,
  ['workspace/symbol'] = true,
  ['workspace/textDocumentContent'] = true,
  ['workspace/willCreateFiles'] = true,
  ['workspace/willDeleteFiles'] = true,
  ['workspace/willRenameFiles'] = true,
}
-- stylua: ignore end

-- stylua: ignore start
-- Generated by gen_lsp.lua, keep at end of file.
protocol._method_supports_static_registration = {
  ['textDocument/codeAction'] = true,
  ['textDocument/codeLens'] = true,
  ['textDocument/colorPresentation'] = true,
  ['textDocument/completion'] = true,
  ['textDocument/declaration'] = true,
  ['textDocument/definition'] = true,
  ['textDocument/diagnostic'] = true,
  ['textDocument/didChange'] = true,
  ['textDocument/documentColor'] = true,
  ['textDocument/documentHighlight'] = true,
  ['textDocument/documentLink'] = true,
  ['textDocument/documentSymbol'] = true,
  ['textDocument/foldingRange'] = true,
  ['textDocument/formatting'] = true,
  ['textDocument/hover'] = true,
  ['textDocument/implementation'] = true,
  ['textDocument/inlayHint'] = true,
  ['textDocument/inlineCompletion'] = true,
  ['textDocument/inlineValue'] = true,
  ['textDocument/linkedEditingRange'] = true,