igrigorik / vimgolf

Real Vim ninjas count every keystroke - do you?
http://www.vimgolf.com/
MIT License
679 stars 65 forks source link

indenting might incorrect depending on starting/ending type #288

Closed derekschrock closed 1 year ago

derekschrock commented 4 years ago

For cases like this challenge 5ed1805d1e2d61000670078f the starting file type is cs "C Sharp" so the CS indent file is loaded. The ending output is F Sharp which doesn't appear to match some of the indents the CS indent file might perform.
Mainly adding :'s to the end of words. This requires extra keys to fix auto indenting changes. I don't know if this is the intended part of the challenge.

The indent file for C# seems to auto indent when it shouldn't for F# syntax. Should the loading of the indent file be disabled?