Skip to content

Grep specific modules under node_modules directory #1428

Answered by pysan3
dbarros asked this question in Q&A
Discussion options

You must be logged in to vote

@dbarros find_args can be a function that will be called on the fly as it is explained in defaults.lua.

You can use whatever lua method to detect the current project and branch out depending on the condition.

vim.fn.getcwd() == "/path/to/my-project" or anything else.

If you are not familiar with lua, tell me what you want and I can help you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dbarros
Comment options

@pysan3
Comment options

Answer selected by dbarros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants