Christopher Chow wrote: > When I start vim with vim -u NONE -N with the following code in a ruby file: > > class Billing::EstimatedImportStrategy < Billing::GapImportStrategy > def applicable? > has_previous_and_next_data? && has_historic_amount_data? > end > > def has_historic_amount_data? > estimated_import.historic_previous_amount.present? && > estimated_import.historic_gap_period.any? && > estimated_import.historic_next_amount.present? > end > > def has_previous_and_next_data? > estimated_import.previous_amount.present? && > estimated_import.next_amount.present? > end > > def estimated_import > @estimated_import ||= > Billing::EstimatedImport.new(:started_on => gap.started_on, :ended_on > => gap.ended_on, :asset_id => meter.asset.id, > :resource_type_id => gap.resource_type.id, > :division_id => meter.asset.division_id, > :organisation_id => > meter.asset.organisation_id, :processed => false, :amount => nil, :meter_id > => meter.id) > end > > def apply > estimated_import.save! > end > end > > When I run :syntax on, I get a segfault in vim. Here's the output from > bugreport.vim: https://gist.github.com/Soliah/6217770
Thanks for reporting the problem. Dominique had another example. Must be something special in the syntax file. -- >From "know your smileys": :----} You lie like Pinocchio /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.