Skip to content

radgeRayden/vim-scopes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-scopes

Vim syntax plugin for the Scopes language

This program generates a vim plugin by querying the compiler about known symbols and then adding some keywords and rules manually. A pre generated version is included for simplicity, but after a language update introducing only symbols getting the correct highlighting is just a matter of rerunning the generator.

To rebuild the plugin: in the repo directory run scopes ./vim-scopes.sc > syntax/scopes.vim.

If there's some mismatch between what is highlighted and legal code, feel free to file an issue. However, be aware that mid-line string blocks will not be added, as they're more trouble to match than they're worth. PS: this has been extended for a quirk of mid-line comments: they can still make everything under them a comment, but this isn't highlighted because it was too difficult to match.

About

Vim syntax plugin for the Scopes language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors