Skip to content

Commit

Permalink
Add qualified tag lookup to Haskell.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
pjrt committed Sep 10, 2016
1 parent d3c45bc commit ce0ee69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ftplugin/haskell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ set wildignore+=*/cabal-dev/*,*/dist/*,*.hi,.stack-work/*
nnoremap <silent><space>f /\(data\\|type\\|class) \<<C-r><C-w>\>/I<cr>
nnoremap <silent><space>gf :Unite -buffer-name=ack grep:.::(data\|type\|class)\ <C-r><C-w>\\b<cr>
" We use hasktags, which support qualified tags
nnoremap <C-]> :<C-u>call TagJumpDot()<CR>
function! GetPackageForFile()
let regexes = [
\ [ '/src/test', '/src/test' ],
Expand Down

0 comments on commit ce0ee69

Please sign in to comment.