Summary: | Devrel handbook vim instructions need changing | ||
---|---|---|---|
Product: | [OLD] Docs-developer | Reporter: | Ciaran McCreesh <ciaran.mccreesh> |
Component: | Developers HOWTO | Assignee: | Gentoo Community Relations Team <comrel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ciaran McCreesh
2004-08-26 20:39:47 UTC
Doc devs can't fix anything in there. Passing it on to devrel. *prod* anyone alive? Hrm, did not see this bug before. Ciaran, I assume all that is needed is for the "if(get...endif" stuff to be replaced by the new two lines and that's it? Well... I'd suggest removing the code listing and stating something like: --- start --- The default Gentoo vimrc file (/etc/vim/vimrc) ensures that correct indentation and filetype settings are used for ebuild and eclass files. For better results, including special syntax highlighting for ebuild keywords, emerge app-vim/gentoo-syntax. On non-Gentoo systems, you can obtain similar results by using the following lines in your vimrc: au BufRead,BufNewFile *.e{build,class} let is_bash=1|setfiletype sh au BufRead,BufNewFile *.e{build,class} set ts=4 sw=4 noexpandtab Or, better yet, by manually installing the gentoo-syntax package (https://developer.berlios.de/projects/gentoo-syntax/). Note that vim 6.3 or later is probably required. --- end --- Please rephrase to compensate for my low caffeine levels :) Added in to CVS (should reach the webnodes in an hour or two, hopefully), slightly edited in a place or two. I left the "probably required" bit out, if you definitely know that it breaks on earlier Vim versions then just please reopen this bug and I'll add that in. Thanks! |