maint: add NEWS and LDoc installation from last commit.

* local.mk (dist_modules_DATA): Add doc/modules/zile.bundle.html.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
maint: remove trailing whitespace.

* lib/zile/default-color-bundle.lua: Remove trailing whitespace.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
refactor: make sure string metatable is monkey_patched by stdlib.

* lib/zile/zlisp.lua: Don't monkey-patch here...
* bin/zz, bin/zemacs: ...do it here where it is executed before
any other substantial code.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
syntax: add support for basic syntax highlighting.

* lib/zile/grammar/lua-bundle.lua: New syntax grammar for Lua
language.
* lib/zile/syntax.lua: New file. Return a sparse array of
attributes for a line of text according to that buffer's grammar.
* build-aux/config.ld.in (file): Add lib/zile/syntax.lua.
* local.mk (dist_modules_DATA): Add doc/modules/zile.syntax.html.
* lib/zile/bundle.lua: Use lrex onigurama engine for easier
porting of TextMate grammar files.
(load_grammar): Initial massaging of a grammar file for fast
access to attributes.
* lib/zile/zile.mk (dist_pkgdata_DATA): Add lib/zile/syntax.lua
and lib/zile/grammar/lua-bundle.lua.
* lib/zile/buffer.lua (buffer_new): Initialise syntax member.
* lib/zile/file.lua (find_file): Load the grammar when opening a
new file.
* lib/zz/main.lua (main): Highlight the scratch buffer correctly.
* lib/zile/term_redisplay.lua (draw_line): Use it to set
attributes as the line is displayed.
* lib/zile/lib.lua (stack): Stack object place holder.
* NEWS: Update.
syntax: select the appropriate mode according to file extension

* lib/zile/grammar/diff-bundle.lua: New file, with the syntax
grammar for diff and patch files.
* lib/zile/zile.mk (dist_pkgdata_DATA): Add diff-bundle.lua.
* lib/zz/default-color-bundle.lua: Set highlight styles for new
diff grammar.
* lib/zile/bundle.lua (load_file_associations): Load a map of
file extension to grammar basename using the fileTypes key in
each grammar file.
* lib/zile/term_redisplay.lua (draw_status_line): Display the
name of the loaded grammar for the current buffer in its mode-
line.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>