nvim: after/ftplugin/haskell: Update tags on file save
This commit is contained in:
parent
99531be4ad
commit
6f78a23ab3
1 changed files with 3 additions and 0 deletions
|
@ -24,3 +24,6 @@ nnoremap <script> <silent> [M gg/^\s*)\s*where\s*$<CR>zb<CR>
|
||||||
nnoremap <script> <silent> ]n /^-- \$\w\+<CR>z<CR>
|
nnoremap <script> <silent> ]n /^-- \$\w\+<CR>z<CR>
|
||||||
" Previous named chunk of documentation
|
" Previous named chunk of documentation
|
||||||
nnoremap <script> <silent> [n ?^-- \$\w\+<CR>z<CR>
|
nnoremap <script> <silent> [n ?^-- \$\w\+<CR>z<CR>
|
||||||
|
|
||||||
|
" Update tags. Relies on fish-shell alias `fasttags` to `fast-tags`.
|
||||||
|
autocmd! BufWritePost <buffer> silent !fasttags %
|
||||||
|
|
Loading…
Reference in a new issue