doc: fix some typos in nvim docs #3280

Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
This commit is contained in:
Aaron O'Leary 2015-09-01 11:08:28 +01:00 committed by Michael Reed
parent 73db02b99c
commit 82c194d33b

View File

@ -29,19 +29,19 @@ clipboard functions account for more than 1k lines of C source code (and that
is just on ui.c), all to peform two tasks that are now accomplished with is just on ui.c), all to peform two tasks that are now accomplished with
simple shell commands such as xclip or pbcopy/pbpaste. simple shell commands such as xclip or pbcopy/pbpaste.
The other example is Python scripting support: Vim has three files dedicated The other example is Python scripting support: Vim has three files dedicated to
to embed the Python interpreter: if_python.c, if_python3.c and if_py_both.h. embedding the Python interpreter: if_python.c, if_python3.c and if_py_both.h.
Together these files sum about 9.5k lines of C source code. On Nvim, Python Together these files sum about 9.5k lines of C source code. On Nvim, Python
scripting is performed by an external host process that is running 2k sloc scripting is performed by an external host process that is running 2k sloc
Python program. Python program.
In a perfect world, we would implement Python and clipboard integration in In a perfect world, we would implement Python and clipboard integration in
pure vimscript and without touching the C code. Unfortunately we can't achieve pure vimscript and without touching the C code. Unfortunately we can't achieve
these goals without severly compromising backwards compatibility with Vim. these goals without severely compromising backwards compatibility with Vim.
Thats where providers comes to rescue. That's where providers come to the rescue.
In essence, this infrastructure a simple framework that simplifies the task of In essence, this infrastructure is a simple framework that simplifies the task
calling vimscript from C code, making it simpler to rewrite C functions that of calling vimscript from C code, making it simpler to rewrite C functions that
interact with external systems in pure vimscript. It is composed of two interact with external systems in pure vimscript. It is composed of two
functions in eval.c: functions in eval.c: