docs: fix typo in function name
authorGreg Hurrell <greg@hurrell.net>
Mon, 12 Oct 2020 14:09:00 +0000 (16:09 +0200)
committerGreg Hurrell <greg@hurrell.net>
Mon, 12 Oct 2020 14:09:00 +0000 (16:09 +0200)
README.md
autoload/pinnacle.vim
doc/pinnacle.txt

index dd94403ee61c6df68a66560d484b5a5a3ac46a59..53bdd9f97967443a73f9c0b701bc933be49c55d1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,9 +35,9 @@ To generate help tags under Pathogen, you can do so from inside Vim with:
 
 Replaces newlines with spaces.
 
-<p align="right"><a name="pinnaclecapturelline" href="#user-content-pinnaclecapturelline"><code>pinnacle#capturel_line()</code></a></p>
+<p align="right"><a name="pinnaclecaptureline" href="#user-content-pinnaclecaptureline"><code>pinnacle#capture_line()</code></a></p>
 
-### `pinnacle#capturel_line()`<a name="pinnacle-pinnaclecapturelline" href="#user-content-pinnacle-pinnaclecapturelline"></a>
+### `pinnacle#capture_line()`<a name="pinnacle-pinnaclecaptureline" href="#user-content-pinnacle-pinnaclecaptureline"></a>
 
 Runs a command and returns the captured output as a single line.
 
index 89fe3646a2147a1603bb18c9ded5e6d9a1b47030..2177ad7739eb4376c0e35bb39d2f80be87e652cb 100644 (file)
@@ -173,7 +173,7 @@ function s:execute(command)
 endfunction
 
 ""
-" @function pinnacle#capturel_line
+" @function pinnacle#capture_line
 "
 " Runs a command and returns the captured output as a single line.
 "
index e963cf9b498f381f50de2014760acefaf4987226..0f24f446215dadc00792fca4814a658ff462891d 100644 (file)
@@ -44,8 +44,8 @@ pinnacle#sub_newlines() ~
 
 Replaces newlines with spaces.
 
-                                                      *pinnacle#capturel_line()*
-pinnacle#capturel_line() ~
+                                                       *pinnacle#capture_line()*
+pinnacle#capture_line() ~
 
 Runs a command and returns the captured output as a single line.