Skip to content

[mirror] Syntax highlighting and file type detect of GNU Guile code in Vim

License

Notifications You must be signed in to change notification settings

HiPhish/guile.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNU Guile support for Vim

This plugin extends Vim's Scheme support to include the additions to the language provided by the GNU Guile implementation. The plugin automatically detects whether a Scheme file is a Guile file and adds syntax highlighting for Guile's special forms.

Installation

Install this like any other Vim plugin.

Using the plugin

When a Guile buffer has been detected its filetype option will be set to the value scheme.guile. This uses Vim's dotted file type (see :h 'filetype') in order to allow users to keep using their setting any plugins for Scheme in addition to this.

Guile is detected by either looking for a shebang in the first line (see 4.3.1 The Top of a Script File in the Guile manual), or by scanning the file for an occurrence of define-module or use-modules. This is not absolutely reliable, but it should work for the vast majority of cases.

License

Released under the MIT (Expat) license, see the COPYING file for details.

About

[mirror] Syntax highlighting and file type detect of GNU Guile code in Vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages