editorconfig-vim icon indicating copy to clipboard operation
editorconfig-vim copied to clipboard

Add support `indent_style = none`

Open nzmosh opened this issue 9 years ago • 3 comments

Related issue: https://github.com/editorconfig/editorconfig/issues/214

I assume there are more appropriate ways fot fixing this but I'm not an expert for vim plugin :/

nzmosh avatar Apr 17 '15 02:04 nzmosh

Thanks for your fix. Unfortunately, it may probably not work: smartindent, cindent options may still have effects. We don't have a consensus on none or disable or any other words to use yet (it has to be cross-editors), so I cannot accept this PR at this moment. I'll leave this PR open until we have some news.

xuhdev avatar Apr 17 '15 03:04 xuhdev

Thanks for your comment! I just wait for EditorConfig updates :+1:

nzmosh avatar Apr 17 '15 05:04 nzmosh

I looked at this again, and it doesn't seem to fit in the overall framework of EditorConfig. All editor plugins ignore unknown property values so we can achieve best future compatibility and plugins' extensions. (see Create a Plugin section on the homepage) This seems to break the rules by enforcing a rule on an unknown property. Now we have a reserved keyword unset, which simply asks editor plugins to ignore it. Thoughts?

xuhdev avatar Nov 15 '18 21:11 xuhdev

@nzmosh I'm guessing you've found another option by now :) . I am going to close this PR as inactive, but feel free to bump the discussion in editorconfig/editorconfig#214 if you still want this feature. Thanks!

cxw42 avatar Oct 30 '22 20:10 cxw42