Эх сурвалжийг харах

Update help and license text

Yegappan Lakshmanan 3 жил өмнө
parent
commit
0ee56693ae
3 өөрчлөгдсөн 28 нэмэгдсэн , 26 устгасан
  1. 20 20
      LICENSE
  2. 6 4
      doc/mru.txt
  3. 2 2
      plugin/mru.vim

+ 20 - 20
LICENSE

@@ -1,20 +1,20 @@
-License: MIT License
-Copyright (c) 2003-2021 Yegappan Lakshmanan
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
+License: MIT License
+Copyright (c) 2003-2022 Yegappan Lakshmanan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.

+ 6 - 4
doc/mru.txt

@@ -7,7 +7,7 @@ Last change: January 13, 2022
 ==============================================================================
 						*mru-license*
 License: MIT License
-Copyright (c) 2003-2021 Yegappan Lakshmanan
+Copyright (c) 2003-2022 Yegappan Lakshmanan
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
@@ -64,7 +64,7 @@ using the following steps.
 
 1. Download the mru.zip file from https://github.com/yegappan/mru/releases
 2. Unzip the mru.zip file into the $HOME/.vim directory for Linux/MacOS/Unix
-   systems or the $HOMEPATH/vimfiles directory for MS-Windows.  After this
+   systems or the %HOMEPATH%/vimfiles directory for MS-Windows.  After this
    step, you should have the following files (the directory structure should
    be preserved):
 
@@ -187,7 +187,9 @@ you can specify a pattern to the |:MRU| command. Example: >
 <
 The above command displays only the file names containing the string "mystr"
 in them.  When you specify a partial file name and only one matching filename
-is found, then the |:MRU| command will edit that file.
+is found, then the |:MRU| command will edit that file.  If you are using Vim
+version 8.2.1665 and above, then the MRU plugin will use fuzzy matching to get
+the list of file names matching the supplied string.
 
 The |:MRU| command supports command-line completion of file names from
 the MRU list. You can enter a partial file name and then press <Tab>
@@ -248,7 +250,7 @@ or more file names as argument. Some example uses for this function are below:
     :vimgrep my_text `=MruGetFiles('.java')`
     " add all the .py files in the MRU list to the argument list
     :n `=MruGetFiles('.py')`
-    " Add the files in MRU list to a quickfix list
+    " Create a quickfix list with the files in MRU list
     :call setqflist([], ' ', {'efm' : '%f', 'lines' : MruGetFiles()})
 <
 ==============================================================================

+ 2 - 2
plugin/mru.vim

@@ -1,8 +1,8 @@
 " File: mru.vim
 " Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com)
 " Version: 3.10.2
-" Last Modified: August 14, 2021
-" Copyright: Copyright (C) 2003-2021 Yegappan Lakshmanan
+" Last Modified: August 17, 2022
+" Copyright: Copyright (C) 2003-2022 Yegappan Lakshmanan
 " License:   Permission is hereby granted to use and distribute this code,
 "            with or without modifications, provided that this copyright
 "            notice is copied with it. Like anything else that's free,