Skip to content

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