~gpanders/dotfiles

ref: 1e9f8dd001f12b57c7ff1b45adb7c59541b752c6 dotfiles/.vim/after/ftplugin/fish.vim -rw-r--r-- 466 bytes
1e9f8dd0Gregory Anders fish: remove fuzzy finder from buku alias 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
if executable('fish_indent')
    setlocal formatprg=fish_indent
    augroup ftplugin_fish
        autocmd!
        autocmd BufWritePre <buffer>
                    \ let w:view = winsaveview() |
                    \ exec 'keepjumps %!fish_indent' |
                    \ call winrestview(w:view) |
                    \ unlet! w:view
    augroup END

    let b:undo_ftplugin = get(b:, 'undo_ftplugin', '') . '|setl fp<|au! ftplugin_fish BufWritePre <buffer>'
endif