Skip to content

Commit

Permalink
Revert "feat: custom popup buffer name" -- names need to be unique
Browse files Browse the repository at this point in the history
This reverts commit 8853494.
  • Loading branch information
ptdewey committed Nov 18, 2024
1 parent 63b1c9d commit 52215b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lua/pendulum/remote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 0 additions & 2 deletions remote/internal/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ func aggregatePendulumMetric(

pv.TotalTime += t

// TODO: common active time aggregation here?

// active-only metrics aggregation
if active == true {
pv.ActiveCount++
Expand Down
4 changes: 0 additions & 4 deletions remote/pkg/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52215b1

Please sign in to comment.