Fix BetterDiscord plugin loading/reloading and VFS viewer syntax highlighting #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Pharaoh2k/BetterEquicord!2
Loading…
Reference in a new issue
No description provided.
Delete branch "goproslowyo/local-bd-compat-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe your Changes
Fix BD compatibility issues that prevented plugins from loading correctly from the virtual filesystem.
So I was having trouble with the BD compatibility layer not loading the better Discord plugins that I was adding. So I added a some defensive code that fixes the loading of plugins and also fixes the syntax highlighting in the BD compat VFS viewer section. Changes are as follows:
For now, I'm just maintaining a local branch with my patches on it that I can rebase on top of your upstream from when you make changes, but I figured I would contribute the fixes upstream and you can decide whether or not you want them or if you'd like to fix them some other way then feel free to close the PR. Thanks!!
Screenshots (if applicable)
console output from clicking the reload plugin button
screenshot shows working syntax highlighting in VFS veiwer
Checklist before submitting
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.