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

Feature request: respect editorconfig settings #291

Open
heapifyman opened this issue Jan 24, 2024 · 2 comments
Open

Feature request: respect editorconfig settings #291

heapifyman opened this issue Jan 24, 2024 · 2 comments

Comments

@heapifyman
Copy link

Would be nice if marksman could take into account all editorconfig settings, like max_line_length, trim_trailing_whitespace, etc.

Supporting editorconfig indentation settings was already mentioned in #94. But I think it might be useful to also respect the rest of the "universal" settings.

For example, I have max_line_length = off for .md files but I still get warnings about MD013/line-length in neovim.

@artempyanykh
Copy link
Owner

Hi @heapifyman!

For example, I have max_line_length = off for .md files but I still get warnings about MD013/line-length in neovim.

This diagnostics is coming from some other place, not from marksman. Generally, marksman has nothing to do with formatting or checking line length. #94 is relevant only in the context of producing big chunks of text via a quick fix (Table of Contents).

@heapifyman
Copy link
Author

@artempyanykh Ok. Thanks for clarifying, and sorry if I mixed things up.

I think my suggestion might still be relevant for #94 then: the text generated for TOC should not only adhere to the indentation settings in .editorconfig, but also to settings like max_line_length?

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

No branches or pull requests

2 participants