chore: add license disclaimers

This commit is contained in:
2026-06-11 22:38:00 +02:00
parent 1a9f4c5f09
commit 21d75ab601
2 changed files with 19 additions and 1 deletions
+14 -1
View File
@@ -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 M = {}
local state = { local state = {
@@ -7,7 +20,7 @@ local state = {
} }
local config = { local config = {
width = 0.2, width = 0.3,
} }
local function is_valid_window(win) local function is_valid_window(win)
+5
View File
@@ -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() require("opencode").setup()