Hi,

> On Fri, May 31, 2019 at 10:35 PM Yegappan Lakshmanan <[email protected]>
wrote:
> Hi,
>
> I have been thinking about implementing something along the lines of
> the 'statusline' option (e.g. 'qfline') for formatting the lines
> displayed in the quickfix buffer.
>

I looked into implementing this option. Currently each line in the
quickfix buffer has three columns (filename, line/column/error type
information and error message). To align these columns, we can support
the following format for this option:

     set qfline=20,10

where, the first number specifies the width of the first column and the
second number specifies the width of the second column and the rest of
the line will be used for the third column. The values within the
columns will be right-aligned. So if a long filename is used, only the
rightmost characters in the filename will be displayed.

Any comments/suggestions on this?

I also considered supporting a more generic printf like format for this
option:

   set qfline=%20f,%10l,%10m

where the fields are optional and additional fields from the quickfix
entry can be used. I am not sure whether this level of flexibility
is needed for this option.

Thanks,
Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7kneDEdOEWA10Bc%2BYirA4yZgXeOC%2B4qooYeWNkzACOgeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui