Bug 2169641
| Summary: | Syntax highlight for sh files broken | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Villy Kruse <ppywlkiqletw> | ||||||
| Component: | vim | Assignee: | Karsten <karsten> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 37 | CC: | egidio.docile, gchamoul, jwadodson, karsten, stepglenn, zdohnal | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | vim-9.0.1307-1.fc37 vim-9.0.1307-1.fc36 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-02-17 18:16:36 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1944014 [details]
The same file after replacing the file /usr/share/vim/vim90/syntax/sh.vim from previous version
Extracting the file /usr/share/vim/vim90/syntax/sh.vim from the previous version fixes the problem
Hi Villy, thank you for reporting the issue and the investigation! I was able to find which specific change in sh.vim caused it and reverted it in https://github.com/vim/vim/pull/11991 . Once it is accepted, I will build a new version. Actually it is already fixed in plugin, but hasn't propagated yet to Vim project, I'll backport it. The original issue https://github.com/vim/vim/issues/11937 FEDORA-2023-ac5432434c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ac5432434c FEDORA-2023-93fb5b08eb has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-93fb5b08eb FEDORA-2023-ac5432434c has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ac5432434c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ac5432434c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-93fb5b08eb has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-93fb5b08eb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-93fb5b08eb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. *** Bug 2170704 has been marked as a duplicate of this bug. *** FEDORA-2023-ac5432434c has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-93fb5b08eb has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |
Created attachment 1944012 [details] Image showing the file /usr/bin/vimdot with broken highlight Description of problem: After updating to vim-common-9.0.1293-1.fc37.x86_64 the syntax highlithting of sh files is broken. It worked on previous version vim-common-2:9.0.1262-1.fc37.x86_64 Version-Release number of selected component (if applicable): vim-common-9.0.1293-1.fc37.x86_64 How reproducible: Always Steps to Reproduce: 1. vim /usr/bin/vimdot 2. 3. Actual results: See image Expected results: Additional info: