logo
The Falcon Programming Language
A fast, easy and powerful programming language
Location: Developers community >> Support for common editors >> Wiki docs
User ID:
Password:
 

Support for common editors - Vim


Vim

A highly configurable text editor built to enable efficient text editing.

Get it here

Status

Latest tested version: 7.2

Latest supported falcon version: 0.9.4

Install Instructions

Vim setup will require a syntax file, indent file, and modification or creation of filetype.vim file. All three will go into separate directories of your Vim install.

All the files discussed in this howto can be downloaded together here

Syntax file:

  1. Download it from here
  2. Place in your $VIM/vimfiles/syntax directory.

Indent file:

  1. Can be found here
  2. Place in your $VIM/vimfiles/indent directory.

filetype.vim

For the lazy:

  1. If you would like to cheat, mine can be found here
  2. Place in your $VIM directory.

If you want to modify your own add the following line to own filetype.vim

au! BufRead,BufNewFile *.fal        setfiletype falcon

Filetype plugins

Another, and perhaps more correct method to make Vim properly detect your falcon source code is to use separate and more complete filetype plugin and detect files.

First you'll need the plugin:

  1. You can find this file here
  2. This file goes in your $VIM/vimfiles/ftplugin directory.

Then you'll need the detect script:

  1. You can find this file here
  2. Put this in $VIM/vimfiles/ftdetect directory.

Go To Page...

Loading

Elapsed time: 0.075 secs. (VM time 0.064 secs.)