From 378761c34a19e92c7e73fffa425b2684ae55ecd7 Mon Sep 17 00:00:00 2001 From: totem4 Date: Wed, 13 Sep 2023 10:31:46 +0200 Subject: [PATCH] add header --- LICENSE | 34 ++++++++++++++++++---------------- vim_legacy/autoload/banana.vim | 8 ++++++-- vim_legacy/doc/banana.txt | 3 +++ vim_legacy/plugin/banana.vim | 24 ++++++++++++------------ 4 files changed, 39 insertions(+), 30 deletions(-) create mode 100644 vim_legacy/doc/banana.txt diff --git a/LICENSE b/LICENSE index 24a8f90..ab83fc4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,20 +1,22 @@ -This is free and unencumbered software released into the public domain. +MIT License -Anyone is free to copy, modify, publish, use, compile, sell, or distribute -this software, either in source code form or as a compiled binary, for any -purpose, commercial or non-commercial, and by any means. +Copyright (c) 2023, totem4 +Copyright (c) 2020, itec -In jurisdictions that recognize copyright laws, the author or authors of this -software dedicate any and all copyright interest in the software to the public -domain. We make this dedication for the benefit of the public at large and -to the detriment of our heirs and successors. We intend this dedication to -be an overt act of relinquishment in perpetuity of all present and future -rights to this software under copyright law. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH -THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, -please refer to +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vim_legacy/autoload/banana.vim b/vim_legacy/autoload/banana.vim index a393ffd..b56bc3d 100644 --- a/vim_legacy/autoload/banana.vim +++ b/vim_legacy/autoload/banana.vim @@ -1,8 +1,12 @@ -if exists("g:autoloaded_Banananew") || &cp +" banana.vim - Convert Base Banana (https://git.lattuga.net/itec/banana) and back +" T4 - totem4@tropici.net +" Version: 0.1 + +if exists("g:autoloaded_Banana") || &cp finish endif -let g:autoloaded_Banananew= 1 " your version number +let g:autoloaded_Banana= 1 fun! banana#Enc() range if line("'<") > 0 diff --git a/vim_legacy/doc/banana.txt b/vim_legacy/doc/banana.txt new file mode 100644 index 0000000..c7996a5 --- /dev/null +++ b/vim_legacy/doc/banana.txt @@ -0,0 +1,3 @@ +# vim-banana + +Vim Plugin to convert decimal to base banana (https://git.lattuga.net/itec/banana) and back. diff --git a/vim_legacy/plugin/banana.vim b/vim_legacy/plugin/banana.vim index 18d5a58..3306926 100644 --- a/vim_legacy/plugin/banana.vim +++ b/vim_legacy/plugin/banana.vim @@ -1,25 +1,25 @@ -if exists("g:loaded_Banananew") || &cp +" banana.vim - Convert Base Banana (https://git.lattuga.net/itec/banana) and back +" T4 - totem4@tropici.net +" Version: 0.1 + +if exists("g:loaded_Banana") || &cp finish endif -let g:loaded_Banananew= 1 " your version number +let g:loaded_Banana= 1 let s:keepcpo = &cpo set cpo&vim -if !hasmapto('BananaEncnew') - map c BananaEncNew +if !hasmapto('BananaEnc') + map c BananaEnc endif -if !hasmapto('BananaDecnew') - map t BananaDecNew +if !hasmapto('BananaDec') + map t BananaDec endif -"noremap