vim-endwise
vim-endwise copied to clipboard
support the Julia language
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.
Ah, these syntax group names were derived from the julia-vim plugin.
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?
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?
Sure, will do. Thanks!
I will merge if it's updated.
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.
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.
Please, give a look at https://github.com/tpope/vim-endwise/pull/128