lsp-extract.lua 143 B

12345678910
  1. local json = require('dkjson')
  2. local data = json.decode(arg[1])
  3. if data.newText then
  4. print(data.newText)
  5. else
  6. print(data.insertText)
  7. end