From ee2a9bed7d376b3263efbb6359ccb7c91715d121 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 9 Nov 2024 23:46:06 +0200 Subject: [PATCH] Fixed an issue with the bubbletea model snippet --- .config/nvim/lua/custom/snippets/go.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/custom/snippets/go.lua b/.config/nvim/lua/custom/snippets/go.lua index c6ddd09..42e30f7 100644 --- a/.config/nvim/lua/custom/snippets/go.lua +++ b/.config/nvim/lua/custom/snippets/go.lua @@ -36,7 +36,7 @@ func (m Model) View() string {{ ) }} -func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {{ +func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {{ switch msg := msg.(type) {{ default: return m, nil