ruby / fiddle

A libffi wrapper for Ruby.
BSD 2-Clause "Simplified" License
154 stars 37 forks source link

Remove Vim commands #140

Closed tenderlove closed 3 months ago

tenderlove commented 3 months ago

Some of these commands just don't work (for example sws is not a Vim setting). I think we should just remove these.

svardew commented 2 months ago

I guess correct modline is /* vim: set noet sts=4 st=4: */

closuer.c, conversions.c: missing second colon is not valid modeline syntax, vim disable modeline.

fiddle.c, fiddle.h, function.c, handle.c: sws (swapsync) may be typo of sts (softtabstop).

also, same typo exist in files at ruby/ruby/ext/psych.

./ext/psych/psych_parser.c:565:/* vim: set noet sws=4 sw=4: */
./ext/psych/psych_yaml_tree.c:12:/* vim: set noet sws=4 sw=4: */
./ext/psych/psych.c:37:/* vim: set noet sws=4 sw=4: */
./ext/psych/psych_emitter.c:555:/* vim: set noet sws=4 sw=4: */
./ext/psych/psych_to_ruby.c:39:/* vim: set noet sws=4 sw=4: */