add license

This commit is contained in:
sam 2024-08-17 19:15:43 +12:00
parent 2269e0966e
commit e941df35fa
2 changed files with 29 additions and 6 deletions

View file

@ -13,11 +13,11 @@ if &shortmess =~ 'A'
else
set shortmess=aoO
endif
badd +6 .gitignore
badd +0 LICENSE
argglobal
%argdel
$argadd .gitignore
edit .gitignore
$argadd LICENSE
edit LICENSE
argglobal
setlocal fdm=manual
setlocal fde=0
@ -29,12 +29,12 @@ setlocal fdn=20
setlocal fen
silent! normal! zE
let &fdl = &fdl
let s:l = 6 - ((5 * winheight(0) + 16) / 32)
let s:l = 3 - ((2 * winheight(0) + 16) / 32)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 6
normal! 011|
keepjumps 3
normal! 029|
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf

23
LICENSE Normal file
View file

@ -0,0 +1,23 @@
zlib/libpng license
Copyright (c) 2024 Sam Watson
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not
be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.