diff options
author | Teddy Wing | 2017-05-04 22:14:47 +0200 |
---|---|---|
committer | Teddy Wing | 2017-05-04 22:14:47 +0200 |
commit | 10a7bb10faec636f8aa5c06ea086ddbad01665d3 (patch) | |
tree | 2d3cb417155a6140aa0f1ff2eea9a41e82b0764a /bundle/whitespace-chain/plugin | |
parent | 30d907fd205daa02fd32a4c367602a457fe9b399 (diff) | |
download | dotvim-10a7bb10faec636f8aa5c06ea086ddbad01665d3.tar.bz2 |
Rename 'whitespace-chain' to 'whitespace-method-chain'
Give the plugin a clearer name.
Diffstat (limited to 'bundle/whitespace-chain/plugin')
-rw-r--r-- | bundle/whitespace-chain/plugin/whitespace_chain.vim | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bundle/whitespace-chain/plugin/whitespace_chain.vim b/bundle/whitespace-chain/plugin/whitespace_chain.vim deleted file mode 100644 index 5ba523d..0000000 --- a/bundle/whitespace-chain/plugin/whitespace_chain.vim +++ /dev/null @@ -1,12 +0,0 @@ -function! SplitMethodChainToMultipleLines() - normal! m` - - let line = getline('.') - let indent = matchstr(line, '\v^\s+') - - " Replace '.' with newlines and the correct amount of indentation - substitute/\V./\='
' . indent . '.'/g - - " Indent new lines - '`+1,.> -endfunction |