VIM Support for Erlang syntax

Source: Internet
Author: User

Found vim write Erlang code syntax indentation is not correct, later found that Vim is 7.0, vim7.3 started to support the Erlang, so upgrade vim

Git downloads the source package, and then a series of configuration installations

Http://www.2cto.com/os/201212/176537.html

Http://www.linuxidc.com/Linux/2011-04/34594.htm

./configure--enable-netbeans--enable-multibyte--enable-fontset--with-vim-name=vi--with-features=huge

If add--prefix=/usr/local/vim, then the last place is placed in the/usr/local/vim/bin directory, or the default/usr/local/bin, if the--WITH-VIM-NAME=VI is finally compiled out called VI, Otherwise called VIM (all related can add alias)

Make && make install

And then found that vim--version is still old,

So the solution is to put/usr/local/bin inside the newly compiled vim to make a link ln-s/usr/local/bin/vim/usr/bin/vim

or alias a bit.

VIM Support for Erlang syntax

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.