Replies: 2 comments
-
|
@refaelsh add this to your configuration: This will make all tools that work for asciidoc also work for asciidoctor. P.S. file type is probably set by some plugin you have. In my case is vim-asciidoctor that has a ftdetect script that set asciidoctor file type to any file with adoc or asciidoc extension. P.P.S. it doesn't. again some plugin with a ftdetect script must be setting the filetype. Normally based on file extension. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you very much for the answer, I understand now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
All the ASciidoc tools/linters/fixers that are listed here: ALE Supported Languages and Tools, only work when the file type that detected by Vim is
asciidoc, but I would prefer them to work also when the file type isasciidoctor.Thanks all.
P.S.
Currently, in my Neovim, if I open a file with the
*.adocextension, it is recognized by Vim as file typeasciidoctor.P.P.S.
How does Vim knows if its a AsciiDoctor file or an AsciiDoc file?
Beta Was this translation helpful? Give feedback.
All reactions