diff options
author | ZyX <kp-pav@yandex.ru> | 2017-07-17 02:32:32 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-07-17 02:32:32 +0300 |
commit | cb3c71eac916eacc2964d824ddc23460d0e91c47 (patch) | |
tree | 85dad34107b894786ce32bf9ffb996f7f0d383f4 | |
parent | dc0a496d41ed23106632d12bbc33679997281c73 (diff) | |
download | rneovim-cb3c71eac916eacc2964d824ddc23460d0e91c47.tar.gz rneovim-cb3c71eac916eacc2964d824ddc23460d0e91c47.tar.bz2 rneovim-cb3c71eac916eacc2964d824ddc23460d0e91c47.zip |
doc: Adjust documentation a bit
2 spaces after sentense ends, clarify what will be highlighted.
-rw-r--r-- | runtime/doc/eval.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index e51f0f5dfc..b45eceb97a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4725,9 +4725,10 @@ input({opts}) let fname = input("File: ", "", "file") < The optional highlight key allows specifying function which - will be used for highlighting. This function receives user - input as its only argument and must return a list of 3-tuples - [hl_start_byte, hl_end_byte + 1, hl_group] where + will be used for highlighting user input. This function + receives user input as its only argument and must return + a list of 3-tuples [hl_start_byte, hl_end_byte + 1, hl_group] + where hl_start_byte is the first highlighted byte, hl_end_byte is the last highlighted byte (+ 1!), hl_group is |:hl| group used for highlighting. @@ -4735,7 +4736,7 @@ input({opts}) Both hl_start_byte and hl_end_byte + 1 must point to the start of the multibyte character (highlighting must not break multibyte characters), hl_end_byte + 1 may be equal to the - input length. Start column must be in range [0, len(input)), + input length. Start column must be in range [0, len(input)), end column must be in range (hl_start_byte, len(input)], sections must be ordered so that next hl_start_byte is greater then or equal to previous hl_end_byte. |