summaryrefslogtreecommitdiff
path: root/lexers
AgeCommit message (Collapse)Author
2016-12-07Move all lua related files to lua/ subfolderMarc André Tanner
Also remove the lexers sub directory from the Lua search path. As a result we attempt to open fewer files during startup: $ strace -e open -o log ./vis +q config.h && wc -l log In order to avoid having to modifiy all lexers which `require('lexer')` we instead place a symlink in the top level directory. $ ./configure --disable-lua $ rm -rf lua Should result in a source tree with most lua specifc functionality removed.
2016-11-30lexer: add standard mlMurray Calavera
2016-11-18Update scheme.luaLuiz de Milon
The scheme syntax highlighting wasn't highlighting base functions, this fixes it.
2016-11-11lexers/fstab: add systemd-specific mount optionsChristian Hesse
2016-10-28theme: use better defaults for color column and cursor line styles in 16 ↵Marc André Tanner
color mode Setting the background color to the same color as the text is not helpful, instead use red for the color column and underline to highlight the cursor line.
2016-10-07lexers: sync with scintillua changeset 571 rev 23435f1d82daMarc André Tanner
This fixes ":set syntax text" and adds a missing file association for the taskpaper lexer. The protobuf and crystal lexers were slightly reformatted, but should contain no functional changes.
2016-10-06lexers/pkgbuild: support arch specific variablesChristian Hesse
2016-10-05lexers/pkgbuild: add a comment about pkgver, srcdir and startdirChristian Hesse
2016-10-05lexers/pkgbuild: match functions with parenthesesChristian Hesse
This solves a name conflict between 'pkgver' variable (which what highlighted in wrong color) and function.
2016-10-05lexers: reduce changes to scintilla core lexing codeMarc André Tanner
Based upon scintillua rev 568 id 55b15760cd31.
2016-10-05lexers: sync language lexers with scintillua rev 568 id 55b15760cd31Marc André Tanner
Adds a taskpaper lexer.
2016-07-25Fix filetype table link in lexers/README.mdChloe
`vis.filetypes` can be found on [line 72 of `vis.lua`](https://github.com/martanne/vis/blob/master/vis.lua#L72), but is not present at all in lexer.lua. Fix `lexers/README.md` to avoid further confusion.
2016-05-28lexer: add lexer for Google protocol buffer IDLDavid B. Lamkins
Close #326
2016-05-22lexer: return nil if lexer loading failsMarc André Tanner
2016-05-22vis: move syntax highlighting to pure Lua codeMarc André Tanner
2016-05-19lexer: add crystalMichel Martens
2016-05-11Merge branch 'fstab' of https://github.com/eworm-de/visMarc André Tanner
2016-05-11lexer: add fstabChristian Hesse
2016-05-11lexer: add delimiter-separated-valuesChristian Hesse
2016-05-07theme: add light-16 themeDavid B. Lamkins
This is derived from the latest dark-16 theme by swapping white and black. Close #309
2016-05-07lexer: add networkd file LPeg lexerChristian Hesse
2016-05-07lexer: remove commented commandChristian Hesse
2016-05-07lexer: add systemd service typesChristian Hesse
2016-05-07lexer: add systemd unit file LPeg lexerChristian Hesse
2016-05-06theme: make dark-16 use more bold font for better color contrastChristian Hesse
2016-05-04vis-lua: reload all lexers after theme changeMarc André Tanner
Close #221
2016-04-17vis: indicate primary cursor by using a different color instead of blinkingMarc André Tanner
Blinking caused more problems (#251, #202) than it solved. Blank cells were especially problematic.
2016-04-07lexer: update to scintillua-3.6.4-2Marc André Tanner
2016-04-07lexer: remove hard coded color specification from lexersMarc André Tanner
The variable syntax used by scintillua %(color.red) intended to make colors configurable is currently not supported. Close #229
2016-03-21vis: also lookup Lua support files relative to the binary locationMarc André Tanner
This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems.
2016-03-11ui: also blink primary cursor if it is on a blank cellMarc André Tanner
2016-03-10ui: make primary cursor blinkMarc André Tanner
2016-02-19update lexer for Arch Linux PKGBUILDChristian Hesse
2016-01-28lexer: snyc with upstream scintillua 3.6.3-1Marc André Tanner
2016-01-17theme: change solarized theme to use the 256 degenerated colorsMarc André Tanner
2016-01-02lexer: sync with upstream scintillua rev bdb74a2f31dfMarc André Tanner
2015-12-29lexer: add some meta data to newly added lexersMarc André Tanner
2015-12-29vis: fix default lua package.path and support $XDG_CONFIG_HOMEMarc André Tanner
The ordered list of paths for startup and lexer files is: - $VIS_PATH/{,lexers} - $XDG_CONFIG_HOME/vis/{,lexers} (defaulting to $HOME/.config/vis/{,lexers}) - /usr/local/share/vis/{,lexers} - /usr/share/vis/{,lexers} - package.path (standard lua search path)
2015-12-26vis: move file type detection to visrc.luaMarc André Tanner
2015-12-03lexer: add lexer for FaustDavid B. Lamkins
Faust is a DSP (digital signal processing) programming language. See http://faust.grame.fr/ Closes #125
2015-11-13lexer: improve pure lexerDavid B. Lamkins
Closes #109
2015-11-11lexer: add lexer for pureDavid B. Lamkins
Ref: http://purelang.bitbucket.org/ Closes #106
2015-11-10lexer: fix some more color specificationsMarc André Tanner
2015-11-10lexers: fix color specification in diff lexerDavid B. Lamkins
Closes #102
2015-11-08theme: updated low color themeMarc André Tanner
2015-11-08theme: add default low color themeMarc André Tanner
The theme was contributed by David B. Lamkins
2015-11-08ui: load syntax theme based on the number of supported colorsMarc André Tanner
The theme to use can be overriden via the $VIS_THEME environment variable. $ VIS_THEME=solarized vis
2015-11-08vis: introduce vis namespace for lua objectsMarc André Tanner
For now the vis table has only one member "lexers".
2015-11-08lexer: add ledger lexerCharles Lehner
2015-11-08theme: increase contrast by setting background color to blackMarc André Tanner