Skip to content
A vim script syntax definition for the Sparqlify Mapping Language
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
sml.vim

README.md

sml.vim

A vim script syntax highlighting definition for the Sparqlification Mapping Language (SML). See http://sml.aksw.org for more details.

How to Use

If you're using vim (on Unix-like systems), there should be a .vim/ directory in your home directory. To use the SML syntax highlighting script you have to copy the sml.vim file (or clone this repository) to ~/.vim/syntax/. Maybe you have to create the syntax directory first. To connect this syntax highlighting definitions with SML files, you have to add the following lines to your ~/.vimrc file:

au BufNewFile,BufRead *.sparqlify setfiletype sml
au BufNewFile,BufRead *.sml setfiletype sml

Now, if you open SML files (having the recommended filename suffixes *.sml or *.sparqlify) they should be syntax highlighted.

You can’t perform that action at this time.