From owner-svn-doc-head@FreeBSD.ORG Thu Nov 1 19:11:15 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2919C7FA; Thu, 1 Nov 2012 19:11:15 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 114358FC08; Thu, 1 Nov 2012 19:11:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id qA1JBERd058900; Thu, 1 Nov 2012 19:11:14 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id qA1JBEFj058898; Thu, 1 Nov 2012 19:11:14 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201211011911.qA1JBEFj058898@svn.freebsd.org> From: Eitan Adler Date: Thu, 1 Nov 2012 19:11:14 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r39905 - head/share/examples/vim X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 19:11:15 -0000 Author: eadler Date: Thu Nov 1 19:11:14 2012 New Revision: 39905 URL: http://svn.freebsd.org/changeset/doc/39905 Log: Update vim examples from sgml to xml Approved by: bcr (mentor) Added: head/share/examples/vim/edit-xml.vim - copied, changed from r39887, head/share/examples/vim/edit-sgml.vim Copied and modified: head/share/examples/vim/edit-xml.vim (from r39887, head/share/examples/vim/edit-sgml.vim) ============================================================================== --- head/share/examples/vim/edit-sgml.vim Wed Oct 31 21:24:52 2012 (r39887, copy source) +++ head/share/examples/vim/edit-xml.vim Thu Nov 1 19:11:14 2012 (r39905) @@ -1,11 +1,11 @@ -" formatting SGML documents +" formatting XML documents " $FreeBSD$ -if !exists("format_fdp_sgml") - let format_fdp_sgml = 1 +if !exists("format_fdp_xml") + let format_fdp_xml = 1 " correction for highlighting special characters - autocmd BufNewFile,BufRead *.sgml,*.ent,*.html syn match sgmlSpecial "&[^;]*;" + autocmd BufNewFile,BufRead *.xml,*.ent,*.html syn match xmlSpecial "&[^;]*;" - " formatting FreeBSD SGML/Docbook - autocmd BufNewFile,BufRead *.sgml,*.ent set autoindent formatoptions=tcq2l textwidth=70 shiftwidth=2 softtabstop=2 tabstop=8 + " formatting FreeBSD XML/Docbook + autocmd BufNewFile,BufRead *.xml,*.ent set autoindent formatoptions=tcq2l textwidth=70 shiftwidth=2 softtabstop=2 tabstop=8 endif