Last active
October 24, 2020 21:04
-
-
Save slarwise/5cceef1c663822b383b59d9392e1890d to your computer and use it in GitHub Desktop.
Setup for include-search for erlang in vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " after/ftplugin/erlang.vim | |
| setlocal suffixesadd=.erl,.hrl | |
| let &l:define = '^-define(\|^-record(\|^-type \|^-type(' | |
| let &l:include = '^\s*-include("\zs\f*\ze").$' | |
| setlocal path+=path/to/your/code/** |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now all of
help include-searchis available, as well asgfand similar commands :) Press[Dor[<C-D>on a macro, record or type and see what happens!