lsp-cli 0.1.6

Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal.
1
2
3
4
5
6
7
8
9
local function normalize_timestamp(timestamp)
  return math.floor(timestamp)
end

local function format_timestamp(timestamp)
  return tostring(normalize_timestamp(timestamp))
end

return { format_timestamp = format_timestamp }