<commit_before>" Vim filetype plugin
" Language:              racket
" Maintainer:            <NAME> <<EMAIL>>

call sexp#filetype#do_filetype('scheme')

let b:interpreter = 'racket'

setlocal shiftwidth=2 softtabstop=2
setlocal commentstring=;\ %s

nmap <buffer> <Localleader>qe ysiebaquote <Esc>:silent! call repeat#set("\<Localleader>qe", -1)<CR>
nmap <buffer> <Localleader>qf ysafbaquote <Esc>:silent! call repeat#set("\<Localleader>qf", -1)<CR>

let b:undo_ftplugin = bk#ftplugin#undo({
      \ 'opts': [
      \   'shiftwidth',
      \   'softtabstop',
      \   'commentstring',
      \ ],
      \ 'vars': [
      \   'b:interpreter',
      \ ],
      \ 'maps': [
      \   [ 'n', '<Localleader>qe' ],
      \   [ 'n', '<Localleader>qf' ],
      \ ],
      \ })<commit_msg>vim: racket: use right lambda in right spot<commit_after>" Vim filetype plugin
" Language:              racket
" Maintainer:            <NAME> <<EMAIL>>

call sexp#filetype#do_filetype('scheme')

let b:interpreter = 'racket'

setlocal shiftwidth=2 softtabstop=2
setlocal commentstring=;\ %s

nmap <buffer> <Localleader>qe ysiebaquote <Esc>:silent! call repeat#set("\<Localleader>qe", -1)<CR>
nmap <buffer> <Localleader>qf ysafbaquote <Esc>:silent! call repeat#set("\<Localleader>qf", -1)<CR>

inoreabbrev <buffer> lambda λ

let b:undo_ftplugin = bk#ftplugin#undo({
      \ 'opts': [
      \   'shiftwidth',
      \   'softtabstop',
      \   'commentstring',
      \ ],
      \ 'vars': [
      \   'b:interpreter',
      \ ],
      \ 'maps': [
      \   [ 'n', '<Localleader>qe' ],
      \   [ 'n', '<Localleader>qf' ],
      \ ],
      \ 'abbrevs': [
      \   [ 'i', 'lambda' ],
      \ ],
      \ })
{'fraction_non_alphanumeric': 0.1813317479191439, 'fraction_numerical': 0.0047562425683709865, 'mean_word_length': 2.550632911392405, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, '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': '5377487', 'n_tokens_mistral': 644, 'n_tokens_neox': 621, 'n_words': 114}