[Bug 264921] Update vim configuration

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jun 2022 03:47:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264921

            Bug ID: 264921
           Summary: Update vim configuration
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: bofh@freebsd.org

Created attachment 234964
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234964&action=edit
Update vim configuration

In the https://docs.freebsd.org/en/books/fdp-primer/book/#editor-config-vim
section the vim configuration is outdated and misinformed:

- vim-tiny do not come with syntax highlighting files so recommending that
might be counter-productive
- For advanced users advise ale linter(I only have confusion about this; so
suggest please)
- Split the functions for two different purposes: adoc and man
- There is no concept of wrapping in adoc as we are following the rule "one
sentence one line". On the other hand man pages should have a wrap at around 72
considering the historical purpose. So remove wrapping(Press[P]) from adoc and
use only for man
- There is also no usage of TAB too in adoc so accompany the(Press[T]) only for
man and remove from adoc
- Extra White Spaces should be applicable for both adoc and man while Over
Length marker should be only for man
- Use appropriate syntax and filetype for asciidoc and man

-- 
You are receiving this mail because:
You are the assignee for the bug.