Open Nealium opened 1 year ago
I think 2 would probably be the way to go, but I'm not sure if it'll have any weird side effect.
(The goal is to merge all these branches into a single one that I can use, but also have the separate for any potential pull)
Fixes conflict specifically with vim-qf's QuickFix functions. QuickFix, in general, should be skipped with this function Issue could effect other Plugins in similar situations, but this commit only solves QuickFix.
Specs:
How to recreate
:copen
+:cclose
+:copen
+:cclose
Result:
{x}_LoadFTPlugin
x changes based on whatever pidvim{v}\ftplugin.vim
is in:scriptnames
legacy exe b:undo_ftplugin
With tinkering, using
:make
, the error message [below] also shows upTheory:
When setting the filetype of QuickFix to
qf
again, it undoes all vim-qf's functions which causes vim-qf to crash. Seeing most Plugins are designed to define functions one time, Django-Plus should avoid inadvertently removing them; especially with QuickFix which is a special caseNotes of behavior
1) Opening
views.py
2) Opening
QuickFix
Point:
This illustrates why the original
empty(a:filename)
isn't catching the QuickFix.