vimrc: simplify and recognize sbclirc

This commit is contained in:
2019-11-29 10:09:16 +01:00
parent 844c8d191c
commit 74b1530cb6
2 changed files with 3 additions and 21 deletions

View File

@@ -31,4 +31,4 @@
(setf *prompt* (colorize :bold (colorize :blue "λ "))) (setf *prompt* (colorize :bold (colorize :blue "λ ")))
(setf *prompt2* (colorize :bold (colorize :blue "λ₂ "))) (setf *prompt2* (colorize :bold (colorize :blue "λ₂ ")))
(setf *ret* (colorize :bold (colorize :red "⇒ "))) (setf *ret* (colorize :bold (colorize :red "⇒ ")))
(setf *pygmentize* "/usr/local/bin/pygmentize") ;(setf *pygmentize* "/usr/local/bin/pygmentize")

22
vimrc
View File

@@ -331,26 +331,6 @@ endfunction
" }}} " }}}
" Tags {{{
set tags=tags;/,codex.tags;/
" }}}
" Conversion {{{
function! Pointfree()
call setline('.', split(system('pointfree '.shellescape(join(getline(a:firstline, a:lastline), "\n"))), "\n"))
endfunction
vnoremap <silent> <leader>h. :call Pointfree()<CR>
function! Pointful()
call setline('.', split(system('pointful '.shellescape(join(getline(a:firstline, a:lastline), "\n"))), "\n"))
endfunction
vnoremap <silent> <leader>h> :call Pointful()<CR>
" }}}
let g:syntastic_carp_checkers = ['carp'] let g:syntastic_carp_checkers = ['carp']
command Cr !carp -x % command Cr !carp -x %
@@ -358,3 +338,5 @@ let g:syntastic_python_checkers = ['python']
let g:syntastic_python_python_exec = '/usr/local/bin/python3' let g:syntastic_python_python_exec = '/usr/local/bin/python3'
let g:syntastic_haskell_hlint_args = "-i 'Eta reduce'" let g:syntastic_haskell_hlint_args = "-i 'Eta reduce'"
let g:syntastic_always_populate_loc_list = 1 let g:syntastic_always_populate_loc_list = 1
au BufNewFile,BufRead .sbclirc set filetype=lisp