From 0aadc22da0518823867578bd9a79f8c481236944 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 22 Mar 2020 00:43:45 +0100 Subject: Add license headers Add a license header to each source file, along with the appropriate copyright years. --- autoload/todo.vim | 15 +++++++++++++++ autoload/todo/motion.vim | 15 +++++++++++++++ doc/todo.txt | 8 +++++--- ftdetect/todo.vim | 15 +++++++++++++++ ftplugin/todo.vim | 15 +++++++++++++++ syntax/todo.vim | 15 +++++++++++++++ 6 files changed, 80 insertions(+), 3 deletions(-) diff --git a/autoload/todo.vim b/autoload/todo.vim index 070d3f5..3955bae 100644 --- a/autoload/todo.vim +++ b/autoload/todo.vim @@ -1,3 +1,18 @@ +" Copyright (c) 2016, 2020 Teddy Wing +" +" Twodo 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, either version 3 of the License, or +" (at your option) any later version. +" +" Twodo 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. +" +" You should have received a copy of the GNU General Public License +" along with Twodo. If not, see . + function! todo#MarkComplete() let view = winsaveview() diff --git a/autoload/todo/motion.vim b/autoload/todo/motion.vim index 32a7c88..82dd092 100644 --- a/autoload/todo/motion.vim +++ b/autoload/todo/motion.vim @@ -1,3 +1,18 @@ +" Copyright (c) 2020 Teddy Wing +" +" Twodo 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, either version 3 of the License, or +" (at your option) any later version. +" +" Twodo 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. +" +" You should have received a copy of the GNU General Public License +" along with Twodo. If not, see . + let s:INCOMPLETE_MATCHER = '^\s*[\-_!] ' diff --git a/doc/todo.txt b/doc/todo.txt index 9c82fc4..9571e0e 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -106,17 +106,19 @@ todoDeleted Deleted to-do. ============================================================================== LICENSE *todo-license* -Vim-Twodo is free software: you can redistribute it and/or modify +Copyright (c) 2016, 2020 Teddy Wing + +Twodo 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, either version 3 of the License, or (at your option) any later version. -Vim-Twodo is distributed in the hope that it will be useful, +Twodo 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. You should have received a copy of the GNU General Public License -along with Vim-Twodo. If not, see . +along with Twodo. If not, see . vim:tw=78:ts=8:ft=help:norl: diff --git a/ftdetect/todo.vim b/ftdetect/todo.vim index 686efb5..19424f7 100644 --- a/ftdetect/todo.vim +++ b/ftdetect/todo.vim @@ -1 +1,16 @@ +" Copyright (c) 2016 Teddy Wing +" +" Twodo 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, either version 3 of the License, or +" (at your option) any later version. +" +" Twodo 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. +" +" You should have received a copy of the GNU General Public License +" along with Twodo. If not, see . + autocmd BufNewFile,BufRead *.todo set filetype=todo diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index e970853..c212289 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -1,3 +1,18 @@ +" Copyright (c) 2016, 2020 Teddy Wing +" +" Twodo 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, either version 3 of the License, or +" (at your option) any later version. +" +" Twodo 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. +" +" You should have received a copy of the GNU General Public License +" along with Twodo. If not, see . + if exists("b:did_ftplugin") finish endif diff --git a/syntax/todo.vim b/syntax/todo.vim index 96d86ee..c1498db 100644 --- a/syntax/todo.vim +++ b/syntax/todo.vim @@ -1,3 +1,18 @@ +" Copyright (c) 2016 Teddy Wing +" +" Twodo 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, either version 3 of the License, or +" (at your option) any later version. +" +" Twodo 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. +" +" You should have received a copy of the GNU General Public License +" along with Twodo. If not, see . + if exists('b:current_syntax') finish endif -- cgit v1.2.3