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:
- Download it from here
- Place in your $VIM/vimfiles/syntax directory.
Indent file:
- Can be found here
- Place in your $VIM/vimfiles/indent directory.
filetype.vim
For the lazy:
- If you would like to cheat, mine can be found here
- 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:
- You can find this file here
- This file goes in your $VIM/vimfiles/ftplugin directory.
Then you'll need the detect script:
- You can find this file here
- Put this in $VIM/vimfiles/ftdetect directory.