aboutsummaryrefslogtreecommitdiff
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2016-12-07Move all lua related files to lua/ subfolderMarc André Tanner134-14122/+0
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 Calavera1-0/+108
2016-11-18Update scheme.luaLuiz de Milon1-0/+1
The scheme syntax highlighting wasn't highlighting base functions, this fixes it.
2016-11-11lexers/fstab: add systemd-specific mount optionsChristian Hesse1-0/+9
2016-10-28theme: use better defaults for color column and cursor line styles in 16 ↵Marc André Tanner2-4/+4
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é Tanner3-16/+15
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 Hesse1-11/+19
2016-10-05lexers/pkgbuild: add a comment about pkgver, srcdir and startdirChristian Hesse1-0/+2
2016-10-05lexers/pkgbuild: match functions with parenthesesChristian Hesse1-1/+1
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é Tanner1-39/+82
Based upon scintillua rev 568 id 55b15760cd31.
2016-10-05lexers: sync language lexers with scintillua rev 568 id 55b15760cd31Marc André Tanner2-2/+60
Adds a taskpaper lexer.
2016-07-25Fix filetype table link in lexers/README.mdChloe1-1/+1
`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. Lamkins1-0/+57
Close #326
2016-05-22lexer: return nil if lexer loading failsMarc André Tanner1-2/+1
2016-05-22vis: move syntax highlighting to pure Lua codeMarc André Tanner1-4/+0
2016-05-19lexer: add crystalMichel Martens1-0/+142
2016-05-11Merge branch 'fstab' of https://github.com/eworm-de/visMarc André Tanner1-0/+560
2016-05-11lexer: add fstabChristian Hesse1-0/+560
2016-05-11lexer: add delimiter-separated-valuesChristian Hesse1-0/+17
2016-05-07theme: add light-16 themeDavid B. Lamkins1-0/+31
This is derived from the latest dark-16 theme by swapping white and black. Close #309
2016-05-07lexer: add networkd file LPeg lexerChristian Hesse1-0/+274
2016-05-07lexer: remove commented commandChristian Hesse1-1/+0
2016-05-07lexer: add systemd service typesChristian Hesse1-1/+9
2016-05-07lexer: add systemd unit file LPeg lexerChristian Hesse1-0/+436
2016-05-06theme: make dark-16 use more bold font for better color contrastChristian Hesse1-14/+14
2016-05-04vis-lua: reload all lexers after theme changeMarc André Tanner1-3/+3
Close #221
2016-04-17vis: indicate primary cursor by using a different color instead of blinkingMarc André Tanner2-2/+2
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é Tanner3-8/+10
2016-04-07lexer: remove hard coded color specification from lexersMarc André Tanner3-3/+3
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é Tanner1-0/+1
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é Tanner1-0/+1
2016-03-10ui: make primary cursor blinkMarc André Tanner1-0/+1
2016-02-19update lexer for Arch Linux PKGBUILDChristian Hesse1-5/+37
2016-01-28lexer: snyc with upstream scintillua 3.6.3-1Marc André Tanner5-8/+289
2016-01-17theme: change solarized theme to use the 256 degenerated colorsMarc André Tanner1-16/+16
2016-01-02lexer: sync with upstream scintillua rev bdb74a2f31dfMarc André Tanner101-113/+489
2015-12-29lexer: add some meta data to newly added lexersMarc André Tanner4-3/+6
2015-12-29vis: fix default lua package.path and support $XDG_CONFIG_HOMEMarc André Tanner1-1/+1
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é Tanner1-119/+0
2015-12-03lexer: add lexer for FaustDavid B. Lamkins2-0/+58
Faust is a DSP (digital signal processing) programming language. See http://faust.grame.fr/ Closes #125
2015-11-13lexer: improve pure lexerDavid B. Lamkins1-11/+18
Closes #109
2015-11-11lexer: add lexer for pureDavid B. Lamkins2-0/+55
Ref: http://purelang.bitbucket.org/ Closes #106
2015-11-10lexer: fix some more color specificationsMarc André Tanner2-3/+3
2015-11-10lexers: fix color specification in diff lexerDavid B. Lamkins1-3/+3
Closes #102
2015-11-08theme: updated low color themeMarc André Tanner1-9/+7
2015-11-08theme: add default low color themeMarc André Tanner2-0/+33
The theme was contributed by David B. Lamkins
2015-11-08ui: load syntax theme based on the number of supported colorsMarc André Tanner1-0/+0
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é Tanner1-0/+2
For now the vis table has only one member "lexers".
2015-11-08lexer: add ledger lexerCharles Lehner2-0/+58
2015-11-08theme: increase contrast by setting background color to blackMarc André Tanner1-1/+1