工信部副部长辛国斌:走中国特色智能制造之路
百度 这是央行第二次调整支付机构备付金交存比例。
Questions about the usage of quickfix commands and quickfix windows.
208 questions
0
votes
0
answers
25
views
Why is my errorformat not capturing "module"?
I'm using this errorformat:
vim.opt_local.errorformat = table.concat({
'%Z', -- Consider any blank line to be the end of a multiline message
'%E%>Failure:', -- "Failure:" Start ...
0
votes
0
answers
469
views
Autocmd before "E21: Cannot make changes, 'modifiable' is off"?
I'd like to trigger some behaviour to change my quickfix to be modifiable and listen for changes when I try to edit it. It's nomodifiable so when I press a key to enter insert mode or use commands ...
-1
votes
3
answers
91
views
Append quickfix list lines to a single register? [closed]
Somewhere in .vimrc I have:
" Clear the register
function! ClearH()
let @h = ''
endfunction
" Append the register
function! EverybodysDoingItSeaDo()
let line = getline('.')
...
4
votes
1
answer
327
views
Vim switches buffers autonomously
I've just encountered a new undesired behavior in Vim, possibly related to the :make command: I have a makefile with a check target that runs a Gtk4 GUI app that I'm working on. When I dismiss the app ...
1
vote
0
answers
18
views
How to determine the last modification time of the quickfix list?
I'm using:
The quickfix list window (to go through vimgrep result)
The location list window (to go through the error CocDiagnostics output)
The CtrlSF buffer (to go through the result of the :CtrlSF ...
1
vote
2
answers
92
views
Could not save in cdo
I've used vimscript to filter out a bunch of .csv files, then, i'd like to insert a line to each of them.
If I copy the content to register a and use
:cdo norm"ap|update|edit#
it always report ...
1
vote
1
answer
192
views
What is the good errorformat or compiler plugin for pyright?
I'm using pyright for static checking. I do not use language servers and want to avoid that if I can.
I want to use quickfix with pyright and I'm wondering if there's an existing pyright compiler ...
0
votes
1
answer
20
views
errorformat: Trailing characters. Cannot load Grepper output from a file into quickfix
I get Trailing characters error with set errorformat when trying to use quickfix:
This is a sample line from a file 20240527-grep.txt that I would load into quickfix. Note, I obtained this output from ...
2
votes
1
answer
147
views
Trying to create syntax checking for Perl
I would like to have a quick way to check the syntax of the current Perl file.
Suppose we have following incorrect file:
#!/usr/bin/perl
sub aaa {
dfgdf dfgdfg
if ) {}
sub bbb { }
...
0
votes
1
answer
77
views
Weird characters in the quickfix list (wsl + docker)
I run Vim in WSL and I build my C++ project in a docker container.
I managed to setup everything, but after the build process I get weird characters in the quickfix list, like the following:
[01m[/...
0
votes
3
answers
92
views
Quickfix list: I changed the paths of listed files but the old paths are considered
I build my c++ software inside a docker image while running Vim in the host.
Although I succeed in building through :make by setting set makeprg=./build_script.sh, where ./build_script.sh calls docker ...
0
votes
1
answer
161
views
How do I close the quickfix window inside a user-defined function?
If the quickfix window is open, I can close it with :cclose. I can map that to a shortcut key:
vim.keymap.set('n', '<C-q>', ":cclose<CR>")
vim.keymap.set('n', '<C-q>', vim....
1
vote
1
answer
300
views
Error when adding new string to errorformat in init.lua?
In Neovim I want to jump through Python traceback in the quickfix list.
To do that, I set the following option
:set errorformat+=%.%#File\ \"%f\"\\,\ line\ %l%.%#
and this works well.
What ...
1
vote
2
answers
322
views
Integration of mypy and QuickFix window
I would like to have a keyboard shortcut to
run mypy on the current buffer
put the output in the QuickFix window
I only want mypy to run and populate the QF window on demand, not constantly. I do ...
1
vote
1
answer
195
views
How can I detect if quickfix window is open?
I can detect if nerdtree window is open :
let l:nerdtree_open = bufwinnr(t:NERDTreeBufName) != -1
I can detect if tagbar window is open :
let l:tagbar_open = bufwinnr('__Tagbar__') != -1
Now I want ...