diff options
| author | Max Christian Pohle | 2018-10-22 00:02:58 +0200 | 
|---|---|---|
| committer | Max Christian Pohle | 2018-10-22 20:42:25 +0200 | 
| commit | f2e01d7e513067ddb57c75f6e38cdcf434946cf8 (patch) | |
| tree | 4e8448506756d2144db173d01385798840507133 /plugin/AlignPlugin.vim | |
| parent | 31f80d9c334e38e486545407ea5eb5f5cbb2f07d (diff) | |
| download | vim-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.tar.bz2 vim-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.zip | |
Major refactoring for version 2.0
vim-plug has been removed and replaced with Vims internal bundle
mechanism. But I already noticed, that there is also GLVM now and
started trying that as well.
Diffstat (limited to 'plugin/AlignPlugin.vim')
| -rw-r--r-- | plugin/AlignPlugin.vim | 41 | 
1 files changed, 41 insertions, 0 deletions
| diff --git a/plugin/AlignPlugin.vim b/plugin/AlignPlugin.vim new file mode 100644 index 0000000..50c53d6 --- /dev/null +++ b/plugin/AlignPlugin.vim | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | " AlignPlugin: tool to align multiple fields based on one or more separators | ||
| 2 | " Author: Charles E. Campbell | ||
| 3 | " Date: Nov 02, 2008 | ||
| 4 | " GetLatestVimScripts: 294 1 :AutoInstall: Align.vim | ||
| 5 | " GetLatestVimScripts: 1066 1 :AutoInstall: cecutil.vim | ||
| 6 | " Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1 | ||
| 7 | " Permission is hereby granted to use and distribute this code, | ||
| 8 | " with or without modifications, provided that this copyright | ||
| 9 | " notice is copied with it. Like anything else that's free, | ||
| 10 | " Align.vim is provided *as is* and comes with no warranty | ||
| 11 | " of any kind, either expressed or implied. By using this | ||
| 12 | " plugin, you agree that in no event will the copyright | ||
| 13 | " holder be liable for any damages resulting from the use | ||
| 14 | " of this software. | ||
| 15 | " | ||
| 16 | " Romans 1:16,17a : For I am not ashamed of the gospel of Christ, for it is {{{1 | ||
| 17 | " the power of God for salvation for everyone who believes; for the Jew first, | ||
| 18 | " and also for the Greek. For in it is revealed God's righteousness from | ||
| 19 | " faith to faith. | ||
| 20 | " --------------------------------------------------------------------- | ||
| 21 | " Load Once: {{{1 | ||
| 22 | if &cp || exists("g:loaded_AlignPlugin") | ||
| 23 | finish | ||
| 24 | endif | ||
| 25 | let g:loaded_AlignPlugin = "v37" | ||
| 26 | let s:keepcpo = &cpo | ||
| 27 | set cpo&vim | ||
| 28 | |||
| 29 | " --------------------------------------------------------------------- | ||
| 30 | " Public Interface: {{{1 | ||
| 31 | com! -bang -range -nargs=* Align <line1>,<line2>call Align#Align(<bang>0,<q-args>) | ||
| 32 | com! -range -nargs=0 AlignReplaceQuotedSpaces <line1>,<line2>call Align#AlignReplaceQuotedSpaces() | ||
| 33 | com! -nargs=* AlignCtrl call Align#AlignCtrl(<q-args>) | ||
| 34 | com! -nargs=0 AlignPush call Align#AlignPush() | ||
| 35 | com! -nargs=0 AlignPop call Align#AlignPop() | ||
| 36 | |||
| 37 | " --------------------------------------------------------------------- | ||
| 38 | " Restore: {{{1 | ||
| 39 | let &cpo= s:keepcpo | ||
| 40 | unlet s:keepcpo | ||
| 41 | " vim: ts=4 fdm=marker | ||
