Hello vim_use Group,
I recently upgraded VIM 8.0 to the new 9.0 version that was out at that time for Windows.
I want to know where VIM stores the path for the _vimrc file.
See I'm not sure which copy of the _vimrc file the VIM program is using.
I've looked at the C:\Program Files(x86)\Vim\_vimrc file and that's not it.
The program kept the user customization so it must be using a _vimrc file from somewhere. But where?
Is there a config file in Vim that tells me path it's looking for when it goes to find the _vimrc file?
Please assist.
Thanks
-----Original Message-----
From: vim_use@googlegroups.com <vim_use@googlegroups.com> On Behalf Of Lifepillar
Sent: Saturday, October 21, 2023 1:09 PM
To: vim_use@googlegroups.com
Subject: Re: Location list entries for unsaved buffer open a new buffer
On 2023-10-21, Yegappan Lakshmanan <yegappanl@gmail.com> wrote:
> On Sat, Oct 21, 2023 at 7:09 AM Lifepillar <lifepillar@lifepillar.me> wrote:
>> How do I generate location list entries that refer to the proper
>> unsaved buffer?
>>
>>
> There is a item in the todo list for more than 20 years now for this:
>
> - Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh
> Govindachar)
:-) I have found the following workaround: I pass the buffer number to the callback, then I iterate over each parsed line and manually set the
buffer:
def Callback(channel: channel, msg: string, bufnr: number, ...)
[...]
var what = getqflist({"lines": [msg], "efm": efm})
for item in what.items
item["bufnr"] = bufnr
endfor
setloclist(winid, what.items, "a")
enddef
Life.
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/uh10ir%24u9l%241%40ciao.gmane.io.
****WARNING**** This email message (including any attachments) are to be treated as confidential/proprietary and may contain copyrighted or other legally protected information. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this information in error, please destroy the information and notify the sender of the error. Thank you.
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/MN2PR13MB33265DB9F17ADC6D4B5B708A9CD8A%40MN2PR13MB3326.namprd13.prod.outlook.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment