vimrc: simplify and recognize sbclirc
This commit is contained in:
2
sbclirc
2
sbclirc
@@ -31,4 +31,4 @@
|
||||
(setf *prompt* (colorize :bold (colorize :blue "λ ")))
|
||||
(setf *prompt2* (colorize :bold (colorize :blue "λ₂ ")))
|
||||
(setf *ret* (colorize :bold (colorize :red "⇒ ")))
|
||||
(setf *pygmentize* "/usr/local/bin/pygmentize")
|
||||
;(setf *pygmentize* "/usr/local/bin/pygmentize")
|
||||
|
22
vimrc
22
vimrc
@@ -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']
|
||||
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_haskell_hlint_args = "-i 'Eta reduce'"
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
|
||||
au BufNewFile,BufRead .sbclirc set filetype=lisp
|
||||
|
Reference in New Issue
Block a user