Skip to content
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

(Re)move formatoptions/comments to ftplugin #144

Closed
wants to merge 1 commit into from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Nov 17, 2014

Do not set formatoptions/comments in syntax file!

Remove them and source it via markdown plugin via ftplugin.

This will now trigger the buggy indenting for everyone (#126), which should get fixed, before merging this.

@cirosantilli
Copy link
Collaborator

This does make sense. Just to understand better: is it just a conceptual difference (which I agree with), or is there also a behaviour change between ftplugin and syntax?

@blueyed
Copy link
Contributor Author

blueyed commented Nov 21, 2014

is there also a behaviour change between ftplugin and syntax?

Yes, because e.g. with no syntax handling, the syntax file would not get parsed.
And the same applies to not using ftplugin, but only syntax.

@shirosaki
Copy link
Collaborator

Now those are moved to indent/markdown.vim.

@shirosaki shirosaki closed this Jan 18, 2016
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.

3 participants