New answers tagged

1 vote

Quickfix list: I changed the paths of listed files but the old paths are considered

This is fundamentally the same problem as your earlier question about escape sequences: your pipeline sends garbage to Vim and that's where you should put your effort. build_script.sh knows the ...
romainl's user avatar
  • 40.7k
2 votes

Quickfix list: I changed the paths of listed files but the old paths are considered

Unless new features have been added (in vim9 or neovim) to correctly patch filenames from quickfix list, I'm afraid you're stuck in between another bash script that'll do filename conversion (the ...
Luc Hermitte's user avatar
  • 17.4k
1 vote

Quickfix list: I changed the paths of listed files but the old paths are considered

2 options come to mind: post process the output in your build script to make the file names relative to the current directory use getqflist()/setqflist() to manipulate the quickfix list entries
D. Ben Knoble's user avatar
  • 26.2k
0 votes

Weird characters in the quickfix list (wsl + docker)

The problem relied in that docker was run with the -it flag which means to run the container in interactive mode. By removing such a flag the problem has been solved.
Barzi2001's user avatar
  • 550
1 vote
Accepted

How do I close the quickfix window inside a user-defined function?

I suspect the screen isn't redrawing when you want: use :redraw[!] or the Lua equivalent to force that. You might also be interested in using makeprg and errorfmt by writing a compiler plugin (:help ...
D. Ben Knoble's user avatar
  • 26.2k
0 votes

Error when adding new string to errorformat in init.lua?

The conversion requires to know how how both call convert the string to the option: set errorformat+=%.%#File\ \"%f\"\\,\ line\ %l%.%# Set the errorformat to: %.%#File "%f"\, line ...
Vivian De Smedt's user avatar
0 votes

How to create qf or location list from results of shell command

Here's a simple Neovim/Lua example, for inspiration: vim.api.nvim_create_user_command('TorgleFlidgets', function() vim.cmd.cclose() print('🐰 torgling the flidgets ...') ...
Sasgorilla's user avatar

Top 50 recent answers are included