<commit_before>" Dein stuff
set runtimepath^=~/.config/nvim/dein/repos/github.com/Shougo/dein.vim
call dein#begin(expand('~/.config/nvim/dein/'))
"call dein#add('~/.config/nvim/dein/')
call dein#add('Shougo/dein.vim')

" Plugins
call dein#add('scrooloose/nerdtree')
call dein#add('ctrlpvim/ctrlp.vim')
call dein#add('vim-scripts/Mark--Karkat')
call dein#add('morhetz/gruvbox')
call dein#add('jessekphillips/d.vim')
call dein#add('neovimhaskell/haskell-vim')
call dein#add('vim-syntastic/syntastic')
call dein#add('rust-lang/rust.vim')

call dein#end()

" Let rust.vim automatically format on save
let g:rustfmt_autosave = 1

" Let syntastic do its thing
set statusline +=%#warningmsg#
set statusline +=%{SyntasticStatuslineFlag()}
set statusline +=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

" NERDTree options
let NERDTreeIgnore = ['\.pyc$']
map <C-n> :NERDTreeToggle<CR>

" CTRLP options
let g:ctrlp_cache_dir = $HOME . '~/.cache/ctrlp'
if executable('ag')
    let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
endif
let g:ctrlp_working_path_mode = 0
<commit_msg>Add deoplete and golang support<commit_after>" Dein stuff
set runtimepath^=~/.config/nvim/dein/repos/github.com/Shougo/dein.vim
call dein#begin(expand('~/.config/nvim/dein/'))
call dein#add('Shougo/dein.vim')

" Plugins
call dein#add('scrooloose/nerdtree')
call dein#add('ctrlpvim/ctrlp.vim')
call dein#add('vim-scripts/Mark--Karkat')
call dein#add('morhetz/gruvbox')
call dein#add('vim-syntastic/syntastic')

" Language plugins
call dein#add('jessekphillips/d.vim')
call dein#add('neovimhaskell/haskell-vim')
call dein#add('rust-lang/rust.vim')

call dein#add('fatih/vim-go')
call dein#add('Shougo/deoplete.nvim')
call dein#add('zchee/deoplete-go', {'build': 'make'})

call dein#end()

" Enable deoplete
let g:deoplete#enable_at_startup = 1

" Let rust.vim automatically format on save
let g:rustfmt_autosave = 1

" Let syntastic do its thing
set statusline +=%#warningmsg#
set statusline +=%{SyntasticStatuslineFlag()}
set statusline +=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

" NERDTree options
let NERDTreeIgnore = ['\.pyc$']
map <C-n> :NERDTreeToggle<CR>

" CTRLP options
let g:ctrlp_cache_dir = $HOME . '~/.cache/ctrlp'
if executable('ag')
    let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
endif
let g:ctrlp_working_path_mode = 0

{'fraction_non_alphanumeric': 0.15268987341772153, 'fraction_numerical': 0.005142405063291139, 'mean_word_length': 5.928767123287671, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2793410', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1043, 'n_words': 199}