[pacman-dev] [PATCH] docs: set text width to 72 in vim directive
Signed-off-by: Cedric Staniewski <cedric@gmx.ca> --- doc/PKGBUILD.5.txt | 2 +- doc/footer.txt | 2 +- doc/libalpm.3.txt | 2 +- doc/makepkg.8.txt | 2 +- doc/makepkg.conf.5.txt | 2 +- doc/pacman.8.txt | 2 +- doc/pacman.conf.5.txt | 2 +- doc/repo-add.8.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 2d6589b..3fae95f 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// PKGBUILD(5) =========== diff --git a/doc/footer.txt b/doc/footer.txt index 8290f3c..806e071 100644 --- a/doc/footer.txt +++ b/doc/footer.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// See the pacman website at http://www.archlinux.org/pacman/[] for current diff --git a/doc/libalpm.3.txt b/doc/libalpm.3.txt index b7a892c..83dca68 100644 --- a/doc/libalpm.3.txt +++ b/doc/libalpm.3.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// libalpm(3) ========== diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index 18ee6ed..be41751 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// makepkg(8) ========== diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index 704dccc..88c4cbb 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// makepkg.conf(5) =============== diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 7f92ec7..9907281 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// pacman(8) ========= diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt index 89c22a1..9852fc7 100644 --- a/doc/pacman.conf.5.txt +++ b/doc/pacman.conf.5.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// pacman.conf(5) ============== diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt index 81bf837..4d5258a 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -1,5 +1,5 @@ ///// -vim:set ts=4 sw=4 syntax=asciidoc noet: +vim:set ts=4 sw=4 tw=72 syntax=asciidoc noet: ///// repo-add(8) ========== -- 1.6.5.3
On Wed, Dec 2, 2009 at 12:05 PM, Cedric Staniewski <cedric@gmx.ca> wrote: A "why" in the commit message would be awfully nice, I'm confused here. :)
Signed-off-by: Cedric Staniewski <cedric@gmx.ca>
On 12/03/2009 01:47 AM, Dan McGee wrote:
On Wed, Dec 2, 2009 at 12:05 PM, Cedric Staniewski <cedric@gmx.ca> wrote:
A "why" in the commit message would be awfully nice, I'm confused here. :)
Signed-off-by: Cedric Staniewski <cedric@gmx.ca>
Sorry, I thought it were quite clear. The text in the man pages is already wrapped after a certain amount of characters and I thought is would be nice to add this to the vim directive or am I missing something here?
On Thu, Dec 3, 2009 at 8:59 AM, Cedric Staniewski <cedric@gmx.ca> wrote:
On 12/03/2009 01:47 AM, Dan McGee wrote:
On Wed, Dec 2, 2009 at 12:05 PM, Cedric Staniewski <cedric@gmx.ca> wrote:
A "why" in the commit message would be awfully nice, I'm confused here. :)
Signed-off-by: Cedric Staniewski <cedric@gmx.ca>
Sorry, I thought it were quite clear. The text in the man pages is already wrapped after a certain amount of characters and I thought is would be nice to add this to the vim directive or am I missing something here?
These man pages wrapping have always pissed me off , because all lines are indented by a tab and vim does not handle that. When I do 'gq' on one text block, it only keeps the tab on the first line... So I always had to manually re-insert the tab for all the next lines. And the result is that the first line is always shorter than all the following ones (by one tab). What am I missing ?
participants (3)
-
Cedric Staniewski
-
Dan McGee
-
Xavier