Skip to content

quickfix not syntax highlighted and cannot jump #285

@noscripter

Description

@noscripter

issue description

I'm using :AsyncRun! ag 'xxx' to grep in my project, and I expect the quickfix to open with syntax highlighted and jumpable. Yet the quickfix content is not highlighted and not jumpable as usual. This issues occurs frequently without constant triggering conditions(at least I haven't figured out yet). This is quite annoying, hopefully you can help me with this problem.

image

env info

I'm using vim-plug to install asyncrun.vim, and the current hash id in ~/.vim/plugged/asyncrun.vim is 014e2e2fe51ad4b1a774cffa0f12887767d952eb. After uploading the plugin, I've restarted vim and the problem still exist.

I'm using vim in iterm and its version is as follows:

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan  4 2024 03:08:50)
macOS version - arm64
Compiled by GitHub Actions
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl                ++builtin_terms     +cmdline_info       +diff               -farsi              +gettext            +lambda             +menu               +mouse_netterm      +netbeans_intg      +postscript         +ruby/dyn           +statusline         +terminal           +transparency       +visualextra        -xfontset
+arabic             +byte_offset        +comments           +digraphs           +file_in_path       -hangul_input       +langmap            +mksession          +mouse_sgr          +num64              +printer            +scrollbind         -sun_workshop       +terminfo           +user_commands      +vreplace           +xim
+autocmd            +channel            +conceal            +dnd                +find_in_path       +iconv              +libcall            +modify_fname       -mouse_sysmouse     +odbeditor          +profile            +signs              +syntax             +termresponse       +vartabs            +wildignore         -xpm
+autochdir          +cindent            +cryptv             -ebcdic             +float              +insert_expand      +linebreak          +mouse              +mouse_urxvt        +packages           +python/dyn         +smartindent        +tag_binary         +textobjects        +vertsplit          +wildmenu           -xsmp
-autoservername     +clientserver       +cscope             +emacs_tags         +folding            +ipv6               +lispindent         +mouseshape         +mouse_xterm        +path_extra         +python3/dyn-stable +sodium             -tag_old_static     +textprop           +vim9script         +windows            -xterm_clipboard
+balloon_eval       +clipboard          +cursorbind         +eval               -footer             +job                +listcmds           +mouse_dec          +multi_byte         +perl/dyn           +quickfix           +sound              -tag_any_white      +timers             +viminfo            +writebackup        -xterm_save
+balloon_eval_term  +cmdline_compl      +cursorshape        +ex_extra           +fork()             +jumplist           +localmap           -mouse_gpm          +multi_lang         +persistent_undo    +reltime            +spell              -tcl                +title              +virtualedit        -X11
+browse             +cmdline_hist       +dialog_con_gui     +extra_search       +fullscreen         +keymap             +lua/dyn            -mouse_jsbterm      -mzscheme           +popupwin           +rightleft          +startuptime        +termguicolors      +toolbar            +visual             -xattr
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O3 -flto -arch x86_64 -arch arm64 -I/usr/local/Cellar/libsodium/1.0.19/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Werror -Wno-deprecated-declarations -
Wno-error=missing-field-initializers -Wno-error=deprecated-declarations -Wno-error=unused-function
Linking: clang -arch x86_64 -arch arm64 -L/usr/local/lib -flto -o Vim -lm -lncurses /usr/local/lib/libsodium.a -liconv /usr/local/lib/libintl.a -framework AppKit

update

It might be related with other plugins I've installed, I've commented the usage of several plugins for further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions