Our great sponsors
-
Hello, I actually try to understand gitsigns.nvim code and I found this uncommon syntax (ret)(step) here function M.async(func) return function(...) local params = { ... } return function(callback) local thread = co.create(func) local function step(...) local stat, ret = co.resume(thread, ...) assert(stat, ret) if co.status(thread) == "dead" then if callback then callback(ret) end else --> (ret)(step) end end step(unpack(params)) end end end I looked but I can't find an explanation for the `(xxx)` syntax, it seems to be a function arguments list but without function? Thank you for your help!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Related posts
- Please, help with highlights.
- Gitsigns thinks that new lines in Windows are differences
- Hacky way to return to original window after using gitsign's `diffthis`. There must be a better way to do this.
- Does anyone have a `cmdheight=0` setup, without Noice.nvim, that they are happy with?
- lines modification , addition or line deletion color indication