sanguis / drupal-snippets

Vim snippets for Drupal 7
2 stars 0 forks source link

Hello from the Drupal vimrc project. #4

Open benjifisher opened 10 years ago

benjifisher commented 10 years ago

I maintain the vimrc project on d.o. We recently decided to "borrow" a lot of your snippets and include them in the project. See this issue for the discussion. I hope you approve.

Of course, I would love to have you contribute directly to the vimrc project, if you like the way it works. See the documentation for a description of its features.

sanguis commented 9 years ago

@benjifisher when we discussed this at NERDSummet you seemed against my repo of snippets.

Why don't instead of including the project just recommend it as an addon for developers? TGHe more people that help with this project the better.

rodrigoaguilera commented 9 years ago

Hello, I was the one "borrowing" snippets. I think for this repo to used alongside the vim plugin for drupal need some work first to only include snippets that are useful for the version of drupal you are currently editing or the type of file. And also look for duplicates and some kind of standard (h and hook ).

I don't regard as bad to have a repo for the plugin and another for the snippets as long as the two play nice together. Am I missing some points that you discussed at NERDsummit?

sanguis commented 9 years ago

@rodrigoaguilera

Feel free to borrow what ever code you want or even better contribute. At this point in my career I don't do as much primary Drupal development as much as I did a year ago.

benjifisher commented 9 years ago

@sanguis, I did not realize that you were Josh in real life. (That is, I did not look at your GitHub profile until just now.)

I have not made a final decision yet between SnipMate and UltiSnips. Personally, I am sticking with SnipMate for now, out of inertia. Your demonstration of tabbing through available snippets at NERDsummit gave me a nudge in the direction of UltiSnips.

For now, I guess we will continue to borrow code without trying for more integration.

sanguis commented 9 years ago

@benjifisher the tabbing can be done in both ultisnios or snipmate, the complications come when combining with the You_complete_me project