vim-patch:8.1.1256: cannot navigate through errors relative to the cursor

Problem:    Cannot navigate through errors relative to the cursor.
Solution:   Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan,
            closes vim/vim#4316)
3ff33114d7
This commit is contained in:
Shane Smith
2019-09-13 22:16:12 -04:00
parent cf7c34dea1
commit a4d48d37c1
5 changed files with 457 additions and 4 deletions

View File

@@ -322,6 +322,12 @@ return {
addr_type=ADDR_LINES,
func='ex_abclear',
},
{
command='cabove',
flags=bit.bor(RANGE, TRLBAR),
addr_type=ADDR_OTHER ,
func='ex_cbelow',
},
{
command='caddbuffer',
flags=bit.bor(RANGE, NOTADR, WORD1, TRLBAR),
@@ -358,6 +364,12 @@ return {
addr_type=ADDR_LINES,
func='ex_cbuffer',
},
{
command='cbelow',
flags=bit.bor(RANGE, TRLBAR),
addr_type=ADDR_OTHER ,
func='ex_cbelow',
},
{
command='cbottom',
flags=bit.bor(TRLBAR),
@@ -1272,6 +1284,12 @@ return {
addr_type=ADDR_LINES,
func='ex_last',
},
{
command='labove',
flags=bit.bor(RANGE, TRLBAR),
addr_type=ADDR_OTHER ,
func='ex_cbelow',
},
{
command='language',
flags=bit.bor(EXTRA, TRLBAR, CMDWIN),
@@ -1308,6 +1326,12 @@ return {
addr_type=ADDR_LINES,
func='ex_cbuffer',
},
{
command='lbelow',
flags=bit.bor(RANGE, TRLBAR),
addr_type=ADDR_OTHER ,
func='ex_cbelow',
},
{
command='lbottom',
flags=bit.bor(TRLBAR),