Skip to content

Fix ftdetect macro #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Fix ftdetect macro #15

merged 1 commit into from
Dec 4, 2017

Conversation

Nicop06
Copy link

@Nicop06 Nicop06 commented Dec 4, 2017

Since vim v7.4.365, all *.Rmd files have the filetype rmd by default while this
plugin is expecting rmarkdown filetype. Using set filetype= instead of
setf somehow gives the autocmd macro a higher priority and is not
overwritten by vim default settings. I tested on vim 8.0.134 only.

This is only a workaround and it does not solve the underlying issue. The best
solution would be to use the rmd filetype directly, but this requires more
changes.

@fmoralesc
Copy link
Member

Good to know. Thanks for the patch.

@fmoralesc fmoralesc merged commit 3de5ed4 into vim-pandoc:master Dec 4, 2017
@Nicop06 Nicop06 deleted the fix_ftdetect branch December 4, 2017 11:57
@cenksoykan cenksoykan mentioned this pull request Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants