Skip to content

Syntax: Add private declarations #471

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

Merged

Conversation

bryanenders
Copy link
Member

Why

I want to be able to differentiate between public and private declarations

How

  • Add elixirPrivateFunctionDeclaration group
  • Add elixirPrivateRecordDeclaration group
  • Add elixirPrivateMacroDeclaration group
  • Link elixirPrivateFunctionDeclaration to elixirFunctionDeclaration to preserve behavior
  • Link elixirPrivateRecordDeclaration to elixirRecordDeclaration to preserve behavior
  • Link elixirPrivateMacroDeclaration to elixirMacroDeclaration to preserve behavior
  • Add elixirPrivateFunctionDeclaration, elixirPrivateRecordDeclaration, and elixirPrivateMacroDeclaration to elixirDeclaration cluster

@bryanenders
Copy link
Member Author

The formatting necessitated some significant whitespace changes. I’d recommend taking a look with whitespace changes hidden.

@jbodah
Copy link
Collaborator

jbodah commented Feb 12, 2019

This looks good to me. I'd like to pull it and just verify on my local tonight

Why
---

I want to be able to differentiate between public and private
declarations

How
---

* Add **elixirPrivateFunctionDeclaration** group
* Add **elixirPrivateRecordDeclaration** group
* Add **elixirPrivateMacroDeclaration** group
* Link **elixirPrivateFunctionDeclaration** to
  **elixirFunctionDeclaration** to preserve behavior
* Link **elixirPrivateRecordDeclaration** to **elixirRecordDeclaration**
  to preserve behavior
* Link **elixirPrivateMacroDeclaration** to **elixirMacroDeclaration**
  to preserve behavior
* Add **elixirPrivateFunctionDeclaration**,
  **elixirPrivateRecordDeclaration**, and
  **elixirPrivateMacroDeclaration** to **elixirDeclaration** cluster
@bryanenders bryanenders force-pushed the syntax/private-declarations branch from 3437204 to f6585e5 Compare February 12, 2019 20:30
@bryanenders
Copy link
Member Author

@jbodah How’d it work out?

@jbodah
Copy link
Collaborator

jbodah commented Feb 14, 2019

I haven't been able to test it yet - ran into some issues with the test suite due to a previous merge; I should be able to run these this afternoon

I did find one issue with the previous PR: #477

@jbodah
Copy link
Collaborator

jbodah commented Feb 14, 2019

This seems good to me 👍

@jbodah jbodah merged commit b6990d9 into elixir-editors:master Feb 14, 2019
@bryanenders bryanenders deleted the syntax/private-declarations branch February 14, 2019 16:52
kelvinst pushed a commit to kelvinst/vim-elixir that referenced this pull request Aug 21, 2019
Why
---

I want to be able to differentiate between public and private
declarations

How
---

* Add **elixirPrivateFunctionDeclaration** group
* Add **elixirPrivateRecordDeclaration** group
* Add **elixirPrivateMacroDeclaration** group
* Link **elixirPrivateFunctionDeclaration** to
  **elixirFunctionDeclaration** to preserve behavior
* Link **elixirPrivateRecordDeclaration** to **elixirRecordDeclaration**
  to preserve behavior
* Link **elixirPrivateMacroDeclaration** to **elixirMacroDeclaration**
  to preserve behavior
* Add **elixirPrivateFunctionDeclaration**,
  **elixirPrivateRecordDeclaration**, and
  **elixirPrivateMacroDeclaration** to **elixirDeclaration** cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants