Closed Bug 297891 Opened 19 years ago Closed 19 years ago

Add a .vimrc autocommand for template processing (indent and tab handling)

Categories

(Bugzilla :: bugzilla.org, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: u197037, Assigned: cso)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050217

To help avoid tab symbols injection into templates, please, add the text
suggesting VIm users to add the following autocommand into .vimrc:

  au BufNewFile,BufRead *.tmpl set et ts=2 sw=2 tw=80

The appropriate place for this is near '<li>Indentation - HTML and XML Templates
should have a 2-space indent.' code.

Reproducible: Always
Assignee: mozilla.webmaster → justdave
Component: webmaster@mozilla.org → bugzilla.org
Product: mozilla.org → Bugzilla
QA Contact: danielwang → default-qa
Version: other → unspecified
sounds good to me.  anyone want to take care of updating the page?
Assignee: justdave → documentation
Status: UNCONFIRMED → NEW
Ever confirmed: true
Yeah, I'll do it sometime, if Colin doesn't get to it first. :-)
Assignee: documentation → mkanat
Attached patch Patch v1Splinter Review
Assignee: mkanat → colin.ogilvie
Status: NEW → ASSIGNED
Attachment #196666 - Flags: review?(mkanat)
Comment on attachment 196666 [details] [diff] [review]
Patch v1

Looks good to me. Remind me to carry it over in my Dev Guide update that would
otherwise tromp it.
Attachment #196666 - Flags: review?(mkanat) → review+
Checking in docs/developer.html.tmpl;
/cvsroot/mozilla-org/html/projects/bugzilla/docs/developer.html.tmpl,v  <-- 
developer.html.tmpl
new revision: 1.9; previous revision: 1.8
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: