diff --git a/lua/pendulum/remote.lua b/lua/pendulum/remote.lua index 7bb7a78..d176d8c 100644 --- a/lua/pendulum/remote.lua +++ b/lua/pendulum/remote.lua @@ -123,6 +123,8 @@ function M.setup(opts) return end + -- TODO: check if go is installed and is correct version + -- compile binary if it doesn't exist print( "Pendulum binary not found at " diff --git a/remote/internal/metrics.go b/remote/internal/metrics.go index 1eb775c..8e64ae2 100644 --- a/remote/internal/metrics.go +++ b/remote/internal/metrics.go @@ -210,8 +210,6 @@ func aggregatePendulumMetric( pv.TotalTime += t - // TODO: common active time aggregation here? - // active-only metrics aggregation if active == true { pv.ActiveCount++ diff --git a/remote/pkg/buffer.go b/remote/pkg/buffer.go index 041b26e..b712478 100644 --- a/remote/pkg/buffer.go +++ b/remote/pkg/buffer.go @@ -15,10 +15,6 @@ func CreateBuffer(v *nvim.Nvim, args PendulumArgs) (nvim.Buffer, error) { return buf, err } - if err := v.SetBufferName(buf, "Pendulum"); err != nil { - return buf, err - } - // set buffer filetype to add some highlighting if err := v.SetBufferOption(buf, "filetype", "markdown"); err != nil { return buf, err