google / google/vim-codefmt

Add more examples of autocmds and NoAutoFormatBuffer to help

Offen
#52 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Vim Script
Sterne
1.1k
Forks
102
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Would be nice to have some practical examples in the docs of how to:
- Auto-format some filetype excluding certain paths.
- Configure default formatter by filetype w/o enabling auto-format.
- Auto-format w/ different formatters at different paths.
- Auto-format but manually disable in some buffers with `:NoAutoFormatBuffer`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.