SidOfc / mkdx

A vim plugin that adds some nice extra's for working with markdown documents
https://www.vim.org/scripts/script.php?script_id=5620
MIT License
484 stars 13 forks source link

filetype of other filetypes is set to markdown when opening (having) markdown file (open) #179

Closed kraxli closed 1 year ago

kraxli commented 1 year ago

OS type:

Vim:

Vim version:

nvim: 0.8

Reproduce steps:

Example:

  1. Open a markdown file.

Expected:

Filetype of other files should not be changed just because having a markdown file open

Actual:

other files, e.g. lua files get also filtype=markdown

SidOfc commented 1 year ago

This is not an issue with mkdx, I tested with just mkdx as an active plugin. Some other plugin, plugin manager, or some configuration in your init.vim / init.lua is likely causing this.

I'll close this since I'm 99.9% sure this can be attributed to user configuration error. That said, if you do still experience this issue after having tested mkdx in isolation (that is, no other plugins or configuration settings loaded) please comment on this issue and share a minimal init.vim or init.lua file for me to check out.