~smlavine/dots

df61f91a86bb136bd8d82aad02bf242b134fa7b8 — Sebastian LaVine 5 days ago 0c7e107
Update to hare.vim master
M src/.config/nvim/ftplugin/hare.vim => src/.config/nvim/ftplugin/hare.vim +3 -2
@@ 23,8 23,9 @@ setlocal fo-=t fo+=croql

compiler hare

" The following of this file was written by Sebastian LaVine.

" These leader bindings were added by Sebastian LaVine.
nnoremap <leader>b :!hare build<CR>
nnoremap <leader>r :!hare run<CR>
nnoremap <leader>e :!hare run .<space>

" vim: tabstop=2 shiftwidth=2 expandtab

M src/.config/nvim/indent/hare.vim => src/.config/nvim/indent/hare.vim +2 -1
@@ 27,12 27,13 @@ setlocal cinoptions=L0,:0,(s,m1,ks,j1,J1,*0,#1
" 0{     -> { at beginning of line
" 0}     -> } at beginning of line
" 0)     -> ) at beginning of line
" 0]     -> ] at beginning of line
" !^F    -> <C-f> (not inserted)
" o      -> <CR> or `o` command
" O      -> `O` command
" e      -> else
" 0=case -> case
setlocal indentkeys=0{,0},0),!^F,o,O,e,0=case
setlocal indentkeys=0{,0},0),0],!^F,o,O,e,0=case

setlocal cinwords=if,else,for,switch,match


M src/.config/nvim/syntax/hare.vim => src/.config/nvim/syntax/hare.vim +1 -0
@@ 78,4 78,5 @@ hi def link hareType Type
hi def link hareSpaceError Error
autocmd InsertEnter * hi link hareSpaceError NONE
autocmd InsertLeave * hi link hareSpaceError Error

" vim: tabstop=8 shiftwidth=2 expandtab