nvim: after/ftplugin/haskell: Update tags on file save

This commit is contained in:
Sanchayan Maity 2023-06-19 15:51:43 +05:30
parent 99531be4ad
commit 6f78a23ab3
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -24,3 +24,6 @@ nnoremap <script> <silent> [M gg/^\s*)\s*where\s*$<CR>zb<CR>
nnoremap <script> <silent> ]n /^-- \$\w\+<CR>z<CR>
" Previous named chunk of documentation
nnoremap <script> <silent> [n ?^-- \$\w\+<CR>z<CR>
" Update tags. Relies on fish-shell alias `fasttags` to `fast-tags`.
autocmd! BufWritePost <buffer> silent !fasttags %