Updates to vhdl.vim

118 views
Skip to first unread message

Daniel Kho

unread,
May 6, 2015, 12:28:08 PM5/6/15
to vim...@googlegroups.com
Hi, I've made quite a few changes to vhdl.vim, including highlighting FIXME and NOTE, as well as highlighting standard pragmas (or preprocessor directives).

I'm not sure how to submit patches yet. If someone can point me to some documentation, I will spend some time to learn how to do so.

-daniel
vhdl.vim

Ben Fritz

unread,
May 6, 2015, 1:30:20 PM5/6/15
to vim...@googlegroups.com
Well, it looks like you're the new listed maintainer, so...you just did!

Normally you'd include Bram directly on the email list to make sure it gets his attention, and also state explicitly that the attached file is ready to be included.

He'll look it over, presumably try it out, and then include it in the next push that updates runtime file.

Bram Moolenaar

unread,
May 6, 2015, 9:26:17 PM5/6/15
to Ben Fritz, vim...@googlegroups.com
Right, just send me the updated file. If it is just for others to try
out, state that clearly. I don't try out the syntax files, I do run a
sanity check on them.

--
The startling truth finally became apparent, and it was this: Numbers
written on restaurant checks within the confines of restaurants do not follow
the same mathematical laws as numbers written on any other pieces of paper in
any other parts of the Universe. This single statement took the scientific
world by storm. So many mathematical conferences got held in such good
restaurants that many of the finest minds of a generation died of obesity and
heart failure, and the science of mathematics was put back by years.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Daniel Kho

unread,
May 7, 2015, 12:13:07 PM5/7/15
to vim...@googlegroups.com, Ben Fritz
Hi Bram,
I've included the new syntax file in my previous post. Anyway, here it is again :)

-daniel


--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/hqsPqAmWn6g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vhdl.vim

Bram Moolenaar

unread,
May 9, 2015, 6:34:46 AM5/9/15
to Daniel Kho, vim...@googlegroups.com, Ben Fritz

Daniel Kho wrote:

> Hi Bram,
> I've included the new syntax file in my previous post. Anyway, here it is
> again :)

Thanks.

--
What a wonderfully exciting cough! Do you mind if I join you?

Daniel Kho

unread,
Oct 5, 2015, 5:41:35 AM10/5/15
to Bram Moolenaar, vim...@googlegroups.com, Ben Fritz
Hi Bram,
Just wondering if the file has been committed yet? I didn't see the changes from a clean install of vim on a new laptop, so I'm asking.

Best regards,
Daniel
--

Best regards,
Daniel
- Sent from my Samsung mobile -

Tony Mechelynck

unread,
Oct 5, 2015, 7:08:36 AM10/5/15
to vim_dev
On Mon, Oct 5, 2015 at 11:41 AM, Daniel Kho <danie...@gmail.com> wrote:
> Hi Bram,
> Just wondering if the file has been committed yet? I didn't see the changes
> from a clean install of vim on a new laptop, so I'm asking.

AFAICT the latest syntax/vhdl.vim is the one has a "Last Changed date"
of 2015 Apr 25 near the top but diffing it with the script you sent as
attachment finds no differences. But which version did you install?
When you do ":version" (without the quotes and with <Enter> at the
end) in the newly installed Vim, has it got an "Included patches" line
near the top? If it hasn't, then no patches are included (i.e. 7.4.000
probably). My own version (self-compiled from the latest sources found
on the Mercurial mirror at bitbucket) is 7.4.889.

Best regards,
Tony.

Daniel Kho

unread,
Oct 5, 2015, 9:00:41 AM10/5/15
to vim_dev
Thanks Tony. I (finally) cloned the Mercurial project on my new laptop and noticed that the source files reflected the latest changes. I guess it's the Ubuntu package manager that is not updated yet (I installed with "sudo apt-get install vim vim-runtime"). Somehow the one installed by the package manager seems pretty old. Doing a ":version" gave the following:
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:25:35)
Included patches: 1-429

Anyway, thanks a lot. After cloning the project, I got back the files I need.

Best regards,
Daniel

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/hqsPqAmWn6g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Little

unread,
Oct 6, 2015, 6:59:45 AM10/6/15
to vim_dev
On Tuesday, October 6, 2015 at 2:00:41 AM UTC+13, Daniel Kho wrote:
> Somehow the one installed by the package manager seems pretty old. Doing a ":version" gave the following:
> :version
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:25:35)
> Included patches: 1-429

That's the version in Ubuntu Precise Pangolin, released in April 2012, aka 12.04. If you're really on precise, you could do-release-upgrade to 14.04.
Ubuntu 15.04 has 7.4.488, but compiling your own is so easy, so long as you run

sudo apt-get build-dep vim

and

sudo apt-get install build-essential

before trying to compile vim.

Regards, John Little

Daniel Kho

unread,
Oct 6, 2015, 8:12:33 PM10/6/15
to vim_dev
Thanks John. I'll be upgrading precise soon.

Best regards,
Daniel

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/hqsPqAmWn6g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tony Mechelynck

unread,
Oct 6, 2015, 8:15:17 PM10/6/15
to vim_dev
On Mon, Oct 5, 2015 at 3:00 PM, Daniel Kho <danie...@gmail.com> wrote:
> Thanks Tony. I (finally) cloned the Mercurial project on my new laptop and
> noticed that the source files reflected the latest changes. I guess it's the
> Ubuntu package manager that is not updated yet (I installed with "sudo
> apt-get install vim vim-runtime"). Somehow the one installed by the package
> manager seems pretty old. Doing a ":version" gave the following:
> :version
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:25:35)
> Included patches: 1-429
>
> Anyway, thanks a lot. After cloning the project, I got back the files I
> need.
>
> Best regards,
> Daniel

7.3.429! That's the kind of build I would regard as out-of-date. My
distro is out-of-date too, just not that much: the vim package of
openSUSE 13.2 (the latest "stable" openSUSE release) is 7.4.461.
Compared to the 7.4.889 available in source form on Bram's
repositories, there's still quite some difference!

Best regards,
Tony.

Daniel Kho

unread,
Oct 6, 2015, 8:28:04 PM10/6/15
to vim_dev
Yeah, I'm now thinking of bringing back my laptop to get those guys to install the latest stable version of Ubuntu.

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/hqsPqAmWn6g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages