aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-19vis: improve <C-p> in visual modeMarc André Tanner1-0/+1
Make sure that the (new) primary cursor is visible after removing the last matched selection.
2015-11-19vis: fix <C-n> in visual mode for partial matchesMarc André Tanner1-1/+1
We need to properly skip partial matches (i.e. not whole words). Closes #118
2015-11-19buffer: add some comments to clarify allocation strategyMarc André Tanner2-4/+9
Closes #116
2015-11-17vis: put in visual mode should replace the current selectionMarc André Tanner1-2/+8
There are some combinations (e.g. line wise selection / character wise register content) which should probably be improved further. Also since vis currently neither supports the numbered registers "0 - "9 nor the small delete register "- the deleted text is not stored in any register. Notice that we can't call op_delete in the implementation because it would overwrite the register content we want to paste. Closes #113
2015-11-17ui: improve fallback code in case of unknown termMarc André Tanner2-2/+2
If the current $TERM value indicates 256 color support fall back to xterm-256color otherwise try xterm. Improves upon 43605fded457cec954600b688d54242341eedc7c Closes #105
2015-11-14view: increase range to consider for syntax highlightingDavid B. Lamkins1-1/+1
Increase the number of bytes to consider for syntax highligthing before the visisble area. This should improve the handling of long block comments. Closes #110
2015-11-13lexer: improve pure lexerDavid B. Lamkins1-11/+18
Closes #109
2015-11-11ui: fall back to xterm-256color if term initialization failsMarc André Tanner1-2/+5
This improves behaviour for unknwown/unrecognized terminals as is the case for self contained binaries built with "make standalone" which only includes a fixed set of terminal descriptions. Of course the terminal capabilities won't match, which will likely cause some display issues.
2015-11-11lexer: add lexer for pureDavid B. Lamkins2-0/+55
Ref: http://purelang.bitbucket.org/ Closes #106
2015-11-10build: do not clutter dependency/install with manual pagesMarc André Tanner1-1/+1
2015-11-10Update .gitignoreMarc André Tanner1-2/+2
Closes #104
2015-11-10lexer: fix some more color specificationsMarc André Tanner2-3/+3
2015-11-10build: try to fix make standalone for multiarch systemsMarc André Tanner1-1/+1
Force ncurses libdir to be /usr/lib not /usr/lib64.
2015-11-10lexers: fix color specification in diff lexerDavid B. Lamkins1-3/+3
Closes #102
2015-11-09view: improve window redrawing for shared files/split windowsMarc André Tanner1-1/+1
When a file was being displayed in multiple windows changes in one could confuse the other.
2015-11-09view: correctly redraw window contentMarc André Tanner1-1/+4
If a change occured on the very first shown character, it was not properly reflected in the view.
2015-11-08ui: warn if theme loading failedMarc André Tanner1-2/+8
2015-11-08Clarify build dependencies in READMEMarc André Tanner1-2/+2
2015-11-08Fix warnings found by static analyzerMarc André Tanner4-6/+5
2015-11-08Mention make local in READMEMarc André Tanner2-2/+5
2015-11-08Update year numbers in Copyright clauseMarc André Tanner7-8/+20
2015-11-08Remove trailing white space from source filesMarc André Tanner7-25/+25
2015-11-08Mention new source files in READMEMarc André Tanner1-2/+9
2015-11-08Delete now obsolete syntax.hMarc André Tanner5-22/+14
2015-11-08vis: map <F1> to :helpMarc André Tanner1-0/+1
2015-11-08vis: reindent config.def.h (no functional changes)Marc André Tanner2-283/+285
2015-11-08Tweak manual pageMarc André Tanner1-2/+24
2015-11-08view: do not highlight matching symbols if selection is activeMarc André Tanner1-1/+1
2015-11-08ui: try to make sure that selected text is still visibleMarc André Tanner1-1/+1
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é Tanner3-1/+3
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é Tanner3-11/+15
For now the vis table has only one member "lexers".
2015-11-08build: add VIS_PATH=. to suggested execution after make localMarc André Tanner1-1/+1
2015-11-08build: explicitly link againgst dlMarc André Tanner1-1/+1
For musl this is a nop, it contains the relevant code in libc and provides and empty libdl archive for compatibility. However certain glibc based system need it.
2015-11-08lexer: add ledger lexerCharles Lehner2-0/+58
2015-11-08theme: increase contrast by setting background color to blackMarc André Tanner1-1/+1
2015-11-08lexer: new lexer for man/roff formatDavid B. Lamkins2-0/+36
2015-11-08lexer: new APL lexerDavid B. Lamkins2-0/+69
2015-11-08vis: try to support all lua versions >= 5.1Marc André Tanner4-7/+7
Make lpeg module table explicitly global, which should work with the different module loading semantics.
2015-11-08vis: implement :set colorcolumnMarc André Tanner7-0/+36
2015-11-08ui: make default selection visibleMarc André Tanner1-1/+4
2015-11-08Add lexer specific README fileMarc André Tanner1-0/+48
2015-11-08travis: try to fix build by using local built dependenciesMarc André Tanner1-2/+2
2015-11-08ui: redo syntax coloring after resizeMarc André Tanner1-0/+1
2015-11-08Update READMEMarc André Tanner1-1/+30
2015-11-08vis: factor out syntax highlighting codeMarc André Tanner3-47/+62
The view_draw function renders the text into the cells array and resyncs the cursor position. The syntax highlighting is applied in view_update, which also instructs the ui to update.
2015-11-08vis: implement :set themeMarc André Tanner3-3/+36
2015-11-08vis: implement :set cursorlineMarc André Tanner5-0/+30
2015-11-08vis: experimental support for lua/lpeg based syntax highlightingMarc André Tanner11-48/+499
The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path