macvim-dev / macvim-dev/macvim
Syntax highlight getting lost when jumping down large file
Personne n'a encore pris cette issue.
- Langage dominant
- Vim Script
- Étoiles
- 7.9k
- Forks
- 691
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am writing a book using Asciidoc format. You can find the Asciidoc file here:https://github.com/krlawrence/graph/tree/master/book
I am using MacVim version: 8.0.1420
I have not noticed this problem as much in earlier versions of MacVim and it is not an issue editing the same file on Windows using Gvim.
If I load the file and set the syntax to Asciidoc the highlighting looks fine. However if I then do a search that requires jumping way down the file or if I just manually jump to the end of the file, syntax highlighting is lost. Doing a syntax sync fromstart does not bring it back and setting the syntax back to Asciidoc again only seems to work if I jump back to the top of the file and manually scroll down the file. As soon as I jump down the file again same problem. This seems to have started happening since I updated to this version of MacVim.
My OS is MacOS 10.13.3
I have sometimes seen this behaviour before but never until now encountered a case where doing a syntax sync fromstart does not fix it.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire le rapport avec le fichier Asciidoc du répertoire du livre lié, en utilisant MacVim 8.0.1420 sur macOS. Comparez la coloration syntaxique après avoir chargé Asciidoc, être allé à la fin, exécuté syntax sync fromstart et fait défiler depuis le début. C’est terminé lorsque la coloration reste correcte après de grands sauts et que la commande de synchronisation signalée fonctionne comme prévu.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- macos, vim
- Domaine
- desktop, devtools
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100