Relicence under the Vim licence, add legal info and update file headers

This commit is contained in:
Alex Vear
2019-09-22 18:01:36 +01:00
parent 3f9b6c5977
commit c47ffd4ec6
9 changed files with 192 additions and 49 deletions

View File

@@ -1,8 +1,14 @@
" =============================================================
" Description: Configure Org-mode folding
" Author: Alex Vear (axvr) <av@axvr.io>
" Licence: ISC (2019)
" =============================================================
" Vim filetype plugin for GNU Emacs' Org mode
"
" Maintainer: Alex Vear <av@axvr.io>
" License: Vim (see `:help license`)
" Location: ftplugin/org.vim
" Website: https://github.com/axvr/org.vim
" Last Change: 2019-09-22
"
" Reference Specification: Org mode manual
" GNU Info: `$ info Org`
" Web: <https://orgmode.org/manual/index.html>
setlocal conceallevel=2
setlocal concealcursor=nc

View File

@@ -1,8 +1,14 @@
" =============================================================
" Description: Folding for GNU Emacs' Outline mode
" Author: Alex Vear (axvr) <av@axvr.io>
" Licence: ISC (2019)
" =============================================================
" Vim filetype plugin for GNU Emacs' Outline mode
"
" Maintainer: Alex Vear <av@axvr.io>
" License: Vim (see `:help license`)
" Location: ftplugin/outline.vim
" Website: https://github.com/axvr/org.vim
" Last Change: 2019-09-22
"
" Reference Specification: GNU Emacs Manual, section 'Outline Mode'
" GNU Info: `$ info Emacs Outline Mode`
" Web: <https://www.gnu.org/software/emacs/manual/html_node/emacs/Outline-Mode.html>
function! OutlineFold()
let l:depth = match(getline(v:lnum), '\(^\*\+\)\@<=\( .*$\)\@=')