google / google/vim-codefmt

Add option to touch only changed lines

Ouverte
#9 4 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Vim Script
Étoiles
1.1k
Forks
102
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

It would be nice to have a mode to detect which lines you had touched in this editing session and only format those ranges.

We'd need a way to decide between this behavior and formatting the whole buffer. One option would be a new `:FormatChangedLines` and `:AutoFormatChangedLines` command that would work as variants of `:FormatCode` and `:AutoFormatBuffer`.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.