mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-21 17:41:27 +02:00
Added "filetype=asciidoc" to help file modlines.
At the moment, only "syntax=asciidoc" was specified. The asciidoc_filetype.vim that is distributed with Asciidoc gives the installer two options -- to either associate every *.txt file with asciidoc or to try to decipher whether or not the file is an asciidoc using the first 50 lines. So it's not given that a developer will open the *.txt files with ft=asciidoc, and so it's helpful to have it explicitly in the modeline.
This commit is contained in:
@@ -86,4 +86,4 @@ Set the filetype to mail when editing email at Gmail:
|
||||
:autocmd LocationChange .* :set editor=gvim\ -f
|
||||
:autocmd LocationChange mail\.google\.com :set editor="gvim -f -c 'set ft=mail'"
|
||||
|
||||
// vim: set syntax=asciidoc:
|
||||
// vim: set syntax=asciidoc filetype=asciidoc:
|
||||
|
||||
Reference in New Issue
Block a user