Skip to content

Incompatible with vim-fugitive plugin #41

@still-dreaming-1

Description

@still-dreaming-1

If I have vim-phpqa and vim-fugitive installed, a feature of vim-fugitive does not work. I run the :Gstatus command in a scenario where the status buffer will show an unstaged, modified php file. Move the cursor to that file, and then press D. This tries to run something similar to vim difftool on the latest version of the file and the checkout version of the file. Some windows open up, and the window that is supposed to show the the checked out version of the file with highlighted differences instead shows this phpqa related error message:

"www/ACSmanager/AcceptManuallyEnteredAmr.php" 44L, 2009C                                                                                                                                      
Error detected while processing function Phpqa#PhpLint:                                                                                                                                       
line    8:                                                                                                                                                                                    
E684: list index out of range: 0                                                                                                                                                              
E116: Invalid arguments for function match(l:php_list[0],"No syntax errors") == -1                                                                                                            
E15: Invalid expression: 0 != v:shell_error && match(l:php_list[0],"No syntax errors") == -1

Happening in the latest version of Neovim. Something similar happens in an older version of Vim I tested. I have the latest version of vim-phpqa and vim-fugitive.

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