···11func! s:get_ident(str) abort
22- return matchstr(a:str, 'def\(module\|macro\|p\)\?\s\+\zs\f\+\ze')
22+ return matchstr(a:str, 'def\%(module\|macro\|p\)\?\s\+\zs[A-Z][A-Za-z0-9._]*\ze')
33endfunc
4455func! ft#elixir#module_name() abort
66 let l:view = winsaveview()
77- let l:name = s:get_ident(getline(search('^\s*defmodule\s', 'bW')))
77+88+ let l:name = ''
99+ let l:count = searchpair('\<do:\@!\>', '', '\<end\>', 'cbrmW', 'getline(".")!~#"^\\s*defmodule"')
810 call winrestview(l:view)
9111212+ for i in range(l:count)
1313+ call searchpair('\<do:\@!\>', '', '\<end\>', 'bW', 'getline(".")!~#"^\\s*defmodule"')
1414+ let l:name = s:get_ident(getline('.')).l:name
1515+1616+ if i < l:count - 1
1717+ let l:name = '.'.l:name
1818+ endif
1919+ endfor
2020+2121+ call winrestview(l:view)
1022 return l:name
1123endfunc
12241325func! ft#elixir#full_ident() abort
2626+ let l:view = winsaveview()
2727+ call search('^\s*def', 'cbW')
1428 let l:line = getline('.')
2929+ call winrestview(l:view)
15301631 if l:line =~# '^\s*def\s\+\k'
1732 return ft#elixir#module_name().'.'.s:get_ident(l:line)
1833 elseif l:line =~# '^\s*defmodule\s\+\k\+'
1919- return s:get_ident(l:line)
3434+ return ft#elixir#module_name()
2035 else
2136 echoerr 'No ident in current line'
2237 endif
+2-2
nvim/autoload/statusline.vim
···33" displays a flag if there are unseen quickfix errors
44function! statusline#quickfix() abort
55 let l:ret = ''
66- let l:ret .= get(g:, 'quickfix_pending') ? '♻️' : ''
77- let l:ret .= exists('g:asyncdo') || exists('w:asyncdo') ? '⚙' : ''
66+ let l:ret .= get(g:, 'quickfix_pending') ? '🏁' :' '
77+ let l:ret .= exists('g:asyncdo') || exists('w:asyncdo') ? '🏃' : ' '
8899 return l:ret
1010endfunction
+2-1
nvim/init.vim
···3434set wildignore+=*.o,*~,*/.git,*/tmp,*/node_modules,*/_build,*/deps,*/target
3535" }}}
3636" Display tabs and trailing spaces visually {{{
3737-set list listchars=tab:→\ ,trail:·,nbsp:␣
3737+set fillchars=vert:┃,fold:·
3838+set list listchars=tab:→\ ,trail:·,nbsp:␣,extends:↦,precedes:↤
3839set conceallevel=2
3940" }}}
4041" Do not show current mode down the bottom {{{