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)
Bugzilla
bugzilla.org
Tracking
()
RESOLVED
FIXED
People
(Reporter: u197037, Assigned: cso)
References
()
Details
Attachments
(1 file)
1.01 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
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
Comment 1•19 years ago
|
||
sounds good to me. anyone want to take care of updating the page?
Assignee: justdave → documentation
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
Yeah, I'll do it sometime, if Colin doesn't get to it first. :-)
Assignee: documentation → mkanat
Assignee | ||
Comment 3•19 years ago
|
||
Comment 4•19 years ago
|
||
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+
Comment 5•19 years ago
|
||
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.
Description
•