<commit_before>
let b:fileFilterCmd = "ruby"

let ruby_space_errors = 1

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

if !exists("b:snippets")
  let b:snippets = {}
endif

let b:snippets['#!'] = '#!/usr/bin/env ruby'

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

nmap <ESC>r      :SplitScratchy 'spec ' . expand("%")<CR>
vmap <ESC>r <ESC>:SplitScratchy 'spec ' . expand("%") . " -l " . line(".")<CR>

ab attr_a attr_accessor
ab attr_r attr_reader
ab attr_w attr_writer
<commit_msg>vim: use <buffer> mappings (not global ones)<commit_after>
let b:fileFilterCmd = "ruby"

let ruby_space_errors = 1

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

if !exists("b:snippets")
  let b:snippets = {}
endif

let b:snippets['#!'] = '#!/usr/bin/env ruby'

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

nmap <buffer> <ESC>r      :SplitScratchy 'spec ' . expand("%")<CR>
vmap <buffer> <ESC>r <ESC>:SplitScratchy 'spec ' . expand("%") . " -l " . line(".")<CR>

ab attr_a attr_accessor
ab attr_r attr_reader
ab attr_w attr_writer

{'fraction_non_alphanumeric': 0.3623725671918443, 'fraction_numerical': 0.0018535681186283596, 'mean_word_length': 5.7924528301886795, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1033825', 'n_tokens_mistral': 486, 'n_tokens_neox': 466, 'n_words': 82}