From 7565b48e9cc4f64d7bf008d62b4a7479676a7b09 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Wed, 14 Dec 2016 15:44:31 -0500 Subject: vim-patch:8.0.0006 Problem: ":lb" is interpreted as ":lbottom" while the documentation says it means ":lbuffer". Solution: Adjust the order of the commands. (haya14busa, closes vim/vim#1093) https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d --- src/nvim/ex_cmds.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index eaf18fc664..b998b81284 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -1271,18 +1271,18 @@ return { addr_type=ADDR_LINES, func='ex_later', }, - { - command='lbottom', - flags=bit.bor(TRLBAR), - addr_type=ADDR_LINES, - func='ex_cbottom', - }, { command='lbuffer', flags=bit.bor(BANG, RANGE, NOTADR, WORD1, TRLBAR), addr_type=ADDR_LINES, func='ex_cbuffer', }, + { + command='lbottom', + flags=bit.bor(TRLBAR), + addr_type=ADDR_LINES, + func='ex_cbottom', + }, { command='lcd', flags=bit.bor(BANG, FILE1, TRLBAR, CMDWIN), -- cgit