1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-19 17:47:53 +03:00
mal/vimscript
Nicolas Boulenguez e6d41de4d5 load-file: accept empty file or final comment, return nil
Let `load-file` append a new line in case last line contains a
comment.

Also append `nil` so that the return value is predictible. Remove the
existing explicit `nil` from existing sources.

Adapt documentation and tests.
2019-07-28 13:08:05 +02:00
..
tests vimscript: Use Vim 8.0 lambdas to reduce boilerplate code 2016-10-25 22:33:02 +00:00
.gitignore Vimscript implementation 2015-10-20 15:04:04 -04:00
core.vim go, rexx, vimscript, yorick: Add number?, fn?, macro? 2017-10-09 20:52:46 +00:00
Dockerfile vimscript: Update Dockerfile to install Vim 8.0 2016-10-25 22:33:07 +00:00
env.vim vimscript: Use map and lambda in EvalAst 2016-10-26 08:22:11 +00:00
Makefile Convert to loccount based stats calculation. 2019-03-20 23:34:21 -05:00
printer.vim vimscript: Remove calls to ObjValue 2016-10-26 08:22:05 +00:00
reader.vim plpgsql, scala, vimscript, yorick: Detect more unterminated strings. 2019-05-19 12:00:07 +01:00
readline.vim vimscript: Fix misinformation in comment 2016-10-25 22:32:16 +00:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
run_vimscript.sh vimscript: hack for make perf to work in docker 2015-12-17 08:12:10 -06:00
step0_repl.vim Vimscript implementation 2015-10-20 15:04:04 -04:00
step1_read_print.vim Vimscript implementation 2015-10-20 15:04:04 -04:00
step2_eval.vim vimscript: Use map and lambda in EvalAst 2016-10-26 08:22:11 +00:00
step3_env.vim vimscript: Use map and lambda in EvalAst 2016-10-26 08:22:11 +00:00
step4_if_fn_do.vim vimscript: Use map and lambda in EvalAst 2016-10-26 08:22:11 +00:00
step5_tco.vim vimscript: Use map and lambda in EvalAst 2016-10-26 08:22:11 +00:00
step6_file.vim load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step7_quote.vim load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step8_macros.vim load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
step9_try.vim load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
stepA_mal.vim load-file: accept empty file or final comment, return nil 2019-07-28 13:08:05 +02:00
types.vim vimscript: Remove useless calls to ObjQ 2016-10-26 08:22:11 +00:00
vimextras.c vimscript: Increase the unixtime base to make sure time-ms fits in a *positive* integer 2016-10-25 22:32:16 +00:00