Skip to content

steinuil/urweb.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urweb.vim

Colorful vim syntax files for Ur/Web.

The syntax is mostly taken from Ur/Web's lexer.

screenshot of an Ur/Web file open in vim

The font is Iosevka and the colorscheme is gruvbox.

Install

I use Pathogen, so that's what these instructions are for. Feel free to contribute with more.

First of all, install Pathogen.

cd ~/.vim/bundle
git clone https://github.com/steinuil/urweb.vim

Features

  • More colors and colored elements than the other syntax files
  • (Supposedly) correct syntax highlighting
  • XML fragments highlighting (using vim's XML highlighter)
  • Limited indentation support

This package currently just improves the looks. If you want features, try vim-addon-urweb.

Known issues

  • No differentiation between signature and implementation regions
  • Possible weird behavior with single-quoted string literals Example: 1'string is accepted by the compiler, but highlighted incorrectly in vim.
  • No real recognition of SQL regions

About

Colorful vim syntax highlighting for Ur/Web

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published