vim-endwise icon indicating copy to clipboard operation
vim-endwise copied to clipboard

support the Julia language

Open bicycle1885 opened this issue 10 years ago • 8 comments

Hello,

This plugin greatly save my coding time and I want to enjoy it with my favorite language: Julia. This pull request adds the support of Julia. I'm not sure if this works completely, but I didn't see false positives or false negatives while my half-hour coding.

bicycle1885 avatar Dec 06 '14 18:12 bicycle1885

Ah, these syntax group names were derived from the julia-vim plugin.

bicycle1885 avatar Dec 07 '14 17:12 bicycle1885

Bump! I was hoping for this functionality for Julia and came across this PR. Looks like @tpope hasn't been around in a while, but @bicycle1885, would you be willing to rebase and resolve conflicts anyway to ensure this is mergeable whenever Tim returns?

ararslan avatar Sep 13 '16 18:09 ararslan

Thank you for being interested in this pull request, but unfortunately I'm not using vim-endwise now and so I can't do dogfooding.

I think fixing this and creating a new pull request are almost trivial. So, could you try to make it yourself?

bicycle1885 avatar Sep 14 '16 06:09 bicycle1885

Sure, will do. Thanks!

ararslan avatar Sep 14 '16 17:09 ararslan

I will merge if it's updated.

tpope avatar Sep 15 '16 22:09 tpope

I forked the repo, applied these changes to a branch, and have been testing out the changes, but I can't seem to get it to work at all with Julia. I think it has something to do with how julia-vim is set up; the blocks aren't defined with syntax match like in Ruby, for example, but rather with syntax region and syntax cluster. Could that be throwing it off?

By the way, hello Tim Pope! Thanks for making such awesome Vim stuff.

ararslan avatar Sep 15 '16 22:09 ararslan

Haven't looked at the implementation, but Ruby uses syntax region for blocks, so I'm not sure what you're asking. You can generally get the correct group by using zS from scriptease.vim.

tpope avatar Apr 27 '17 23:04 tpope

Please, give a look at https://github.com/tpope/vim-endwise/pull/128

00sapo avatar Jun 27 '21 16:06 00sapo