New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RDY] Refactor path module #430
Conversation
Nice! I'm going to move some additional functions into path.c later today. ref #414 |
This is actually not much yet, but I'd prefer not blowing up PRs and thus would mark this as ready as soon as someone has reviewed the changes. Also if anyone else wants to proceed on refactoring this module, feel free to do so. It'll probably take some days until I'd continue this. |
I'll take a look at this later today! I will look for more refactorings, after all it was my PR that created this mess ;) |
@schmee Thanks, that'd be nice. And no, you haven't created the mess, but nicely extracted it in order to make it solvable. ;) |
Unfortunately my last I think the general question is, whether constant names in enums should have a common prefix or not. A common prefix makes it easier to classify a random constant in the code (i.e. you know which enum type the constant belongs to). The constants which raised the question are the possible return values of
vs.
Maybe @tarruda can decide which way to go? |
LGTM 👍 |
@schmee Thanks for reviewing! I'll just wait until the naming-issue above is solved before I mark this PR as ready. |
As soon as this gets merged I'll start moving stuff from |
Marked as ready, since I don't want to prevent @schmee from introducing further improvements in this module and the naming thing doesn't seem to be such a big issue. |
Merged, thanks |
@aktau Sorry for my mistake with |
@Hinidu You probably mean the definition of If there are also style issues in the functions I've refactored, I'd be glad if you could add line notes and I'd definitely fix them together with my misspelling. |
@lslah I don't see style issues in refactored code. |
`#! /usr/bin/env bash` is apparently a valid/used shebang (yes, with a space even).
Works only in s:execute of fzf's Vim plugin. s:execute_term corrupts the output of fzf#shellescape.
No description provided.