this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Dirty Xref command for Elixir

+59 -19
+1 -1
fish/config.fish
··· 1 - alias ssh="env TERM=xterm-256color ssh" 1 + alias ssh='env TERM=xterm-256color ssh' 2 2 3 3 function enable 4 4 available "$argv[1]"
+9 -5
nvim/after/ftplugin/elixir.vim
··· 1 1 setlocal makeprg=mix 2 2 setlocal tabstop=2 3 3 4 - iabbrev <buffer> mdoc @moduledoc """ 5 - iabbrev <buffer> pry require IEx; IEx.pry 4 + command! -buffer ModuleName echo ft#elixir#module_name() 5 + command! -buffer Function echo ft#elixir#full_ident() 6 + command! -buffer XrefCallers call asyncdo#run(1, 'mix', ['xref', 'callers', ft#elixir#full_ident()]) 6 7 7 - iabbrev <buffer> defm defmodule 8 - iabbrev <buffer> defi defimpl 8 + inoreabbrev <buffer> mdoc @moduledoc """ 9 + inoreabbrev <buffer> pry require IEx; IEx.pry 10 + 11 + inoreabbrev <buffer> defm defmodule 12 + inoreabbrev <buffer> defi defimpl 9 13 10 14 inoremap <buffer> ,, <Space>=> 11 15 12 - iabbrev <buffer> pkey add :id, :binary_id, primary_key: true 16 + inoreabbrev <buffer> pkey add :id, :binary_id, primary_key: true 13 17 14 18 ClearSwapList 15 19
+1 -1
nvim/after/ftplugin/go.vim
··· 1 - set noexpandtab 1 + setlocal noexpandtab
+4
nvim/after/ftplugin/javascript.vim
··· 4 4 au! 5 5 autocmd User ProjectionistDetect call projections#node#detect() 6 6 augroup END 7 + 8 + ClearSwapList 9 + 10 + SwapList variable let const
+1 -1
nvim/after/ftplugin/rust.vim
··· 6 6 let g:rustfmt_autosave = 1 7 7 let g:racer_experimental_completer = 1 8 8 9 - inoreabbrev excr extern crate 9 + inoreabbrev <buffer> excr extern crate 10 10 11 11 nnoremap <buffer> K <Plug>(rust-doc) 12 12 nnoremap <buffer> <C-]> <Plug>(rust-def)
+10 -3
nvim/autoload/plugins.vim
··· 46 46 call minpac#add('tpope/vim-eunuch') 47 47 " }}} 48 48 " Completion {{{ 49 - call minpac#add('roxma/nvim-completion-manager') 50 - call minpac#add('racer-rust/vim-racer') 51 - call minpac#add('roxma/nvim-cm-racer') 49 + call minpac#add('prabirshrestha/async.vim') 50 + call minpac#add('prabirshrestha/asyncomplete.vim') 51 + 52 + call minpac#add('Shougo/neco-vim') 53 + call minpac#add('prabirshrestha/asyncomplete-necovim.vim') 54 + 55 + call minpac#add('keremc/asyncomplete-racer.vim') 56 + 57 + call minpac#add('yami-beta/asyncomplete-omni.vim') 52 58 call minpac#add('slashmili/alchemist.vim') 53 59 " }}} 54 60 " Code manipulation {{{ ··· 75 81 call minpac#add('kopischke/vim-fetch') 76 82 call minpac#add('t9md/vim-choosewin') 77 83 call minpac#add('mbbill/undotree') 84 + call minpac#add('andymass/vim-matchup', {'type': 'opt'}) 78 85 " }}} 79 86 endfunc
+33 -8
nvim/init.vim
··· 1 1 " vi: foldmethod=marker 2 2 scriptencoding utf-8 3 3 4 - " Unload unneeded plugins {{{ 5 - let g:loaded_netrwPlugin = 1 "$VIMRUNTIME/plugin/netrwPlugin.vim 6 - let g:loaded_2html_plugin = 1 "$VIMRUNTIME/plugin/tohtml.vim 7 - " }}} 8 - 9 4 " Plugins {{{ 10 5 command! -bar PackUpdate call plugins#reload() | call minpac#update() 11 6 command! -bar PackClean call plugins#reload() | call minpac#clean() 12 7 13 8 set packpath^=~/.local/share/nvim 9 + 10 + packadd! vim-matchup 11 + 12 + " Unload unneeded plugins {{{ 13 + let g:loaded_netrwPlugin = 1 "$VIMRUNTIME/plugin/netrwPlugin.vim 14 + let g:loaded_2html_plugin = 1 "$VIMRUNTIME/plugin/tohtml.vim 15 + " }}} 14 16 " }}} 15 17 " Identation {{{ 16 18 set tabstop=4 shiftwidth=0 softtabstop=-1 expandtab ··· 126 128 " Scratchpad {{{ 127 129 command! Scratchify setlocal nobuflisted buftype=nofile bufhidden=delete 128 130 command! Scratch enew | Scratchify 129 - command! SScratch split | Scratchify 130 - command! VScratch vsplit | Scratchify 131 - command! TScratch tab | Scratchify 131 + command! SScratch new | Scratchify 132 + command! VScratch vnew | Scratchify 133 + command! TScratch tabnew | Scratchify 132 134 " }}} 133 135 " Format {{{ 134 136 nnoremap g= gg=Gg`` ··· 189 191 let g:startify_change_to_dir = 0 190 192 let g:startify_change_to_vcs_root = 1 191 193 " }}} 194 + " Match up {{{ 195 + let g:matchup_matchparen_status_offscreen = 0 196 + " }}} 197 + " }}} 198 + " Completions {{{ 199 + " let g:asyncomplete_completion_delay = 500 200 + 201 + augroup asyncomplete_register_sources 202 + au! 203 + au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({ 204 + \ 'name': 'omni', 205 + \ 'whitelist': ['*'], 206 + \ 'blacklist': ['html', 'html.javascript'], 207 + \ 'completor': function('asyncomplete#sources#omni#completor') 208 + \ })) 209 + autocmd User asyncomplete_setup call asyncomplete#register_source( 210 + \ asyncomplete#sources#racer#get_source_options()) 211 + autocmd User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#necovim#get_source_options({ 212 + \ 'name': 'necovim', 213 + \ 'whitelist': ['vim'], 214 + \ 'completor': function('asyncomplete#sources#necovim#completor'), 215 + \ })) 216 + augroup END 192 217 " }}}