summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim38
1 files changed, 1 insertions, 37 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 08ce5eb..213099f 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -1,16 +1,6 @@
set noswapfile
-" Deoplete #################################################################
-
-let g:deoplete#enable_at_startup = 1
-" use tab to cycle
-inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
-" close preview when leaving insert
-autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
-" use omni completion for go, provided by vim-go
-call deoplete#custom#option('omni_patterns', { 'go': '[^. *\t]\.\w*' })
-
" NERDTree #################################################################
let NERDTreeMouseMode=3
@@ -34,39 +24,13 @@ map <C-n> :NERDTreeToggle<CR>
" always enter term buffer in insert mode
autocmd BufEnter * if &buftype == 'terminal' | :startinsert | endif
-" vim-go ###################################################################
-
-let g:go_fmt_autosave = 1
-let g:go_fmt_command="goimports"
-
" rust.vim ###################################################################
let g:rustfmt_autosave = 1
" Caddyfile ####################################################################
-"
-au BufNewFile,BufRead Caddyfile,*.Caddyfile,Caddyfile.* set ft=caddyfile
-
-" neomake ##################################################################
-autocmd! BufWritePost * Neomake
-"let g:neomake_verbose=3
-"let g:neomake_logfile='/tmp/neomake.log'
-
-" Always run clippy on rust projects
-autocmd! BufWritePost *.rs Neomake! clippy
-
-" the sidebar sign placement wasn't playing nice with gitgutter, so use the
-" location list instead. But location list is kinda dumb cause it pops open
-" multiple times and at weird times, sooo.... fuck it
-"let g:neomake_open_list=2
-let g:neomake_open_list=0
-let g:neomake_place_signs=0
-
-let g:neomake_markdown_enabled_makers = ['misspell']
-let g:neomake_markdown_misspell_maker = {
- \ 'errorformat': '%f:%l:%c:%m',
- \ }
+au BufNewFile,BufRead Caddyfile,*.Caddyfile,Caddyfile.* set ft=caddyfile
" mine #####################################################################