better filetype detection
http://asciidoctor.org/docs/asciidoc-recommended-practices/#document-extension
This commit is contained in:
parent
7384288e07
commit
b64bcf7b3e
|
@ -4,7 +4,9 @@
|
||||||
# Detection
|
# Detection
|
||||||
# ‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook global BufCreate .*\.asciidoc %{ set buffer filetype asciidoc }
|
hook global BufCreate .+\.(a(scii)?doc|asc) %{
|
||||||
|
set buffer filetype asciidoc
|
||||||
|
}
|
||||||
|
|
||||||
# Highlighters
|
# Highlighters
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
Loading…
Reference in New Issue
Block a user