diff --git a/lua/opencode.lua b/lua/opencode.lua index 00ca0ae..a4af0a4 100644 --- a/lua/opencode.lua +++ b/lua/opencode.lua @@ -1,3 +1,16 @@ +-- opencode.nvim - Toggle opencode in a Neovim terminal. +-- SPDX-License-Identifier: GPL-3.0-only +-- Copyright (C) 2026 Asger Gitz-Johansen +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, version 3 only. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. + local M = {} local state = { @@ -7,7 +20,7 @@ local state = { } local config = { - width = 0.2, + width = 0.3, } local function is_valid_window(win) diff --git a/plugin/opencode.lua b/plugin/opencode.lua index d608aef..98f237b 100644 --- a/plugin/opencode.lua +++ b/plugin/opencode.lua @@ -1 +1,6 @@ +-- opencode.nvim - Toggle opencode in a Neovim terminal. +-- SPDX-License-Identifier: GPL-3.0-only +-- Copyright (C) 2026 Asger Gitz-Johansen +-- Licensed under the GNU General Public License, version 3 only. + require("opencode").setup()