* Christian Brabandt <[email protected]> [2015-12-05 13:06 +0100]:

> On Fr, 04 Dez 2015, Bram Moolenaar wrote:
[...]
> #v+
> ~/code/vim$ git log -p -1 -r v7.4.956 runtime/filetype.vim
> commit f882d9f89dbe24ab1ba4bc88529bef28242fd2ed
> Author: Bram Moolenaar <[email protected]>
> Date:   Thu Dec 3 20:18:24 2015 +0100
> 
>     patch 7.4.956
>     Problem:    A few more file name extensions not recognized.
>     Solution:   Add .asciidoc, .bzl, .gradle, etc.
> 
> diff --git a/runtime/filetype.vim b/runtime/filetype.vim
> index 2efc13f..813db93 100644
> --- a/runtime/filetype.vim
> +++ b/runtime/filetype.vim
> @@ -1,7 +1,7 @@
>  " Vim support file to detect file types
>  "
>  " Maintainer:        Bram Moolenaar <[email protected]>
> -" Last Change:       2015 Oct 13
> +" Last Change:       2015 Dec 03
>  
>  " Listen very carefully, I will say this only once
>  if exists("did_load_filetypes")
> ~/code/vim$
> #v-
> 
> Now where is the addition of the asciidoc pattern to filetype.vim?

$ grep -A3 -B3 asciidoc  /usr/share/vim/vim74/filetype.vim

au BufNewFile,BufRead *.art                     setf art

" AsciiDoc
au BufNewFile,BufRead *.asciidoc,*.adoc         setf asciidoc

" ASN.1
au BufNewFile,BufRead *.asn,*.asn1              setf asn

Elimar

-- 
 On the keyboard of life you have always
  to keep a finger at the escape key;-)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui