Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Nov 18, 2024
1 parent c56c377 commit 9658b1a
Show file tree
Hide file tree
Showing 46 changed files with 134 additions and 67 deletions.
7 changes: 4 additions & 3 deletions cmd/gopad.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func NewRootCmd(version string, defaultConfigs embed.FS) *cobra.Command {
tea.WithKeyReleases,
tea.WithUniformKeyLayout,
),
tea.WithFerociousRenderer(),
}
zone.NewGlobal()
defer zone.Close()
Expand All @@ -112,9 +113,9 @@ func NewRootCmd(version string, defaultConfigs embed.FS) *cobra.Command {

cmd.PersistentFlags().StringP("config-dir", "c", "", "set configuration directory (Default: ./.gopad, $XDG_CONFIG_HOME/gopad or $HOME/.config/gopad)")
cmd.Flags().StringP("workspace", "w", "", "set workspace directory (Default: first directory argument)")
cmd.Flags().StringP("debug", "d", "", "set debug log file")
cmd.Flags().StringP("debug-lsp", "l", "", "set debug lsp log file")
cmd.Flags().StringP("pprof", "p", "", "set pprof address:port")
cmd.Flags().StringP("debug", "", "", "set debug log file")
cmd.Flags().StringP("debug-lsp", "", "", "set debug lsp log file")
cmd.Flags().StringP("pprof", "", "", "set pprof address:port")
cmd.Flags().BoolP("disable-mouse", "", false, "disable mouse support (enabled by default)")

return cmd
Expand Down
2 changes: 1 addition & 1 deletion cmd/grammar/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"sync"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/spf13/cobra"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion cmd/grammar/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/exec"
"slices"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
)
Expand Down
11 changes: 6 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ module go.gopad.dev/gopad
go 1.23

replace (
github.com/charmbracelet/lipgloss => github.com/gopad-dev/lipgloss v0.0.0-20240906153413-0bcc656d0482
github.com/charmbracelet/lipgloss/v2 => github.com/gopad-dev/lipgloss/v2 v2.0.0-20241116225007-513a66c72a0b
github.com/lrstanley/bubblezone => github.com/gopad-dev/bubblezone v0.0.0-20240919125415-44caa82cfbd5
go.lsp.dev/protocol => github.com/gopad-dev/protocol v0.0.0-20240916085830-4815610e4100
)

require (
github.com/atotto/clipboard v0.1.4
github.com/bmatcuk/doublestar/v4 v4.7.1
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.1.0.20241028191104-f7c464793655
github.com/charmbracelet/lipgloss v1.0.0
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.2
github.com/charmbracelet/lipgloss/v2 v2.0.0-alpha.2
github.com/charmbracelet/x/ansi v0.4.5
github.com/dustin/go-humanize v1.0.1
github.com/ebitengine/purego v0.8.1
Expand All @@ -25,14 +25,14 @@ require (
go.gopad.dev/fuzzysearch v0.0.0-20240526153819-c12185e04fe2
go.lsp.dev/jsonrpc2 v0.10.0
go.lsp.dev/protocol v0.12.1-0.20240203004437-3c0d4339e51f
golang.org/x/text v0.20.0
)

require (
github.com/charmbracelet/colorprofile v0.1.7 // indirect
github.com/charmbracelet/lipgloss v1.0.0 // indirect
github.com/charmbracelet/x/cellbuf v0.0.5 // indirect
github.com/charmbracelet/x/term v0.2.1 // indirect
github.com/charmbracelet/x/wcwidth v0.0.0-20241108191800-317c90dc73b2 // indirect
github.com/charmbracelet/x/wcwidth v0.0.0-20241113152101-0af7d04e9f32 // indirect
github.com/charmbracelet/x/windows v0.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand All @@ -54,6 +54,7 @@ require (
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
20 changes: 14 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
github.com/bmatcuk/doublestar/v4 v4.7.1 h1:fdDeAqgT47acgwd9bd9HxJRDmc9UAmPpc+2m0CXv75Q=
github.com/bmatcuk/doublestar/v4 v4.7.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.1.0.20241028191104-f7c464793655 h1:4Zvqm/m3I0UY+5Ujc7R7Bgn3LZlXBAPSxZ60Pqif+M0=
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.1.0.20241028191104-f7c464793655/go.mod h1:Mtbso3gyg6Lc38Z0Ef7p2fkye8kOBDtNsHg3qLvSYzo=
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.2 h1:NkQFWhCii9NtL7Q0L/4mNKtZFgrDpfPSVZAzTwEJdGg=
github.com/charmbracelet/bubbletea/v2 v2.0.0-alpha.2/go.mod h1:24niqT9RbtXhWg8zLRU/v/xTixlo1+DUsHQZ3+kez5Y=
github.com/charmbracelet/colorprofile v0.1.7 h1:q7PtMQrRBBnLNE2EbtbNUtouu979EivKcDGGaimhyO8=
github.com/charmbracelet/colorprofile v0.1.7/go.mod h1:d3UYToTrNmsD2p9/lbiya16H1WahndM0miDlJWXWf4U=
github.com/charmbracelet/lipgloss v1.0.0 h1:O7VkGDvqEdGi93X+DeqsQ7PKHDgtQfF8j8/O2qFMQNg=
github.com/charmbracelet/lipgloss v1.0.0/go.mod h1:U5fy9Z+C38obMs+T+tJqst9VGzlOYGj4ri9reL3qUlo=
github.com/charmbracelet/x/ansi v0.4.5 h1:LqK4vwBNaXw2AyGIICa5/29Sbdq58GbGdFngSexTdRM=
github.com/charmbracelet/x/ansi v0.4.5/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw=
github.com/charmbracelet/x/cellbuf v0.0.5 h1:LYmOqjZqoLeL4bgafJu+HZesy5zIdjgSYFkBav8P5aw=
github.com/charmbracelet/x/cellbuf v0.0.5/go.mod h1:FaDNlvrPSNCEnih536+xi5f8iqxRQfDA20TVTs30CPU=
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
github.com/charmbracelet/x/wcwidth v0.0.0-20241108191800-317c90dc73b2 h1:selMkYp+OS+l9GXYFgWvVVFdmQeH3xZqoIdnoccMgKE=
github.com/charmbracelet/x/wcwidth v0.0.0-20241108191800-317c90dc73b2/go.mod h1:hyua5CY63kyl7IfyIxv1SjVEqoKze/XmDkEglItuVjA=
github.com/charmbracelet/x/wcwidth v0.0.0-20241113152101-0af7d04e9f32 h1:14czE6R5CgOlvONsJYa2B1uTyLvXzGXpBqw2AyZeTh4=
github.com/charmbracelet/x/wcwidth v0.0.0-20241113152101-0af7d04e9f32/go.mod h1:hyua5CY63kyl7IfyIxv1SjVEqoKze/XmDkEglItuVjA=
github.com/charmbracelet/x/windows v0.2.0 h1:ilXA1GJjTNkgOm94CLPeSz7rar54jtFatdmoiONPuEw=
github.com/charmbracelet/x/windows v0.2.0/go.mod h1:ZibNFR49ZFqCXgP76sYanisxRyC+EYrBE7TTknD8s1s=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand All @@ -29,8 +33,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/gopad-dev/bubblezone v0.0.0-20240919125415-44caa82cfbd5 h1:SPW30KtFPjJq33djuewVitKLRpMpDl3DsI6OpX/g/mc=
github.com/gopad-dev/bubblezone v0.0.0-20240919125415-44caa82cfbd5/go.mod h1:+iJ0NDEFCan/So8PIMgkqSPiPqZwpJkDp3bYfvkurWg=
github.com/gopad-dev/lipgloss v0.0.0-20240906153413-0bcc656d0482 h1:c7uHPhJusKT6rMlt9gspS2x505UAJWwg6XOS56+Xb+k=
github.com/gopad-dev/lipgloss v0.0.0-20240906153413-0bcc656d0482/go.mod h1:ZbN5GVH/VrXHPRa1lZqZ1HWJyayJHJYaf9ywsCuI9zQ=
github.com/gopad-dev/lipgloss/v2 v2.0.0-20241116225007-513a66c72a0b h1:YlNZhzHgqqQZOR6DI6EshVDD3NM8BIvaXZz879trUqo=
github.com/gopad-dev/lipgloss/v2 v2.0.0-20241116225007-513a66c72a0b/go.mod h1:72/7KVsLdRldv/CeBjZx6igXIZ9CFtBzQUmDEbhXZ3w=
github.com/gopad-dev/protocol v0.0.0-20240916085830-4815610e4100 h1:l7dkmmJhrMLS9JhvwUtj5MxUwEVqrXakv0b3uNFD03A=
github.com/gopad-dev/protocol v0.0.0-20240916085830-4815610e4100/go.mod h1:ov/M9MmwMqAffXvXc19fwCUHHJxNosA74TdyMW6oCH8=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
Expand All @@ -44,6 +48,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-pointer v0.0.1 h1:n+XhsuGeVO6MEAp7xyEukFINEa+Quek5psIR/ylA6o0=
github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc=
github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
Expand All @@ -55,6 +61,8 @@ github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELU
github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo=
github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8=
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
Expand Down
2 changes: 1 addition & 1 deletion gopad/config/languages.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"slices"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
)

type Use struct {
Expand Down
2 changes: 1 addition & 1 deletion gopad/config/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"image/color"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/internal/bubbles"
"go.gopad.dev/gopad/internal/bubbles/button"
Expand Down
2 changes: 1 addition & 1 deletion gopad/config/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"image/color"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/internal/bubbles"
"go.gopad.dev/gopad/internal/bubbles/button"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/close.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/button"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package editor

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/button"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/document_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/lrstanley/bubblezone"

"go.gopad.dev/gopad/gopad/editor/buffer"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/document_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/charmbracelet/x/ansi"
"github.com/lrstanley/bubblezone"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/lrstanley/bubblezone"

"go.gopad.dev/gopad/gopad/editor/buffer"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/file/diagnostic.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"slices"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/editor/buffer"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/file/highlight.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"slices"
"strings"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/tree-sitter/go-tree-sitter"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/file/syntax.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"slices"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/tree-sitter/go-tree-sitter"

"go.gopad.dev/gopad/gopad/editor/buffer"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/file_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/charmbracelet/x/ansi"
"github.com/lrstanley/bubblezone"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/goto.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/editor/buffer"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package editor

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/internal/bubbles/key"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package editor

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/key"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/filepicker"
Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/outline.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package editor

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/editor/buffer"

Expand Down
2 changes: 1 addition & 1 deletion gopad/editor/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package editor

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/key"
Expand Down
2 changes: 1 addition & 1 deletion gopad/gopad.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/lrstanley/bubblezone"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion gopad/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gopad

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"go.gopad.dev/gopad/internal/bubbles/key"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion gopad/key_mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"go.gopad.dev/gopad/internal/bubbles/key"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion gopad/ls/diagnostics.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/gopad/editor/buffer"
Expand Down
2 changes: 1 addition & 1 deletion gopad/lsp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/ls"
"go.gopad.dev/gopad/internal/bubbles/button"
Expand Down
3 changes: 1 addition & 2 deletions gopad/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ func OpenLSPOverlay() tea.Msg {
return OpenLSPOverlayMsg{}
}

type OpenLSPOverlayMsg struct {
}
type OpenLSPOverlayMsg struct{}
2 changes: 1 addition & 1 deletion gopad/quit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gopad

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"go.gopad.dev/gopad/internal/bubbles/key"

"go.gopad.dev/gopad/gopad/config"
Expand Down
2 changes: 1 addition & 1 deletion gopad/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"runtime"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/gopad/config"
"go.gopad.dev/gopad/internal/bubbles/key"
Expand Down
2 changes: 1 addition & 1 deletion gopad/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gopad

import (
"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"

"go.gopad.dev/gopad/internal/bubbles/key"

Expand Down
2 changes: 1 addition & 1 deletion internal/bubbles/button/button.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/charmbracelet/bubbletea/v2"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/v2"
"github.com/lrstanley/bubblezone"

"go.gopad.dev/gopad/internal/bubbles/key"
Expand Down
Loading

0 comments on commit 9658b1a

Please sign in to comment.