Fixes some minor typos in nimsuggest.rst (#9223)

* Fix Minor typo in nimsuggest.rst

* Fixes two more typo in nimsuggest.rst
This commit is contained in:
technicallyagd 2018-10-09 23:45:00 +08:00 • committed by Andreas Rumpf
commit 85187d4ba3

View file

@ -48,7 +48,7 @@ by default.
Specifying the location of the query Specifying the location of the query
------------------------------------ ------------------------------------
Nimsuggest than waits for queries to process. A query consists of a Nimsuggest then waits for queries to process. A query consists of a
cryptic 3 letter "command" ``def`` or ``con`` or ``sug`` or ``use`` followed by cryptic 3 letter "command" ``def`` or ``con`` or ``sug`` or ``use`` followed by
a location. A query location consists of: a location. A query location consists of:
@ -59,7 +59,7 @@ a location. A query location consists of:
``dirtyfile.nim`` ``dirtyfile.nim``
This is optional. This is optional.
The ``file`` paramater is enough for static analysis, but IDEs The ``file`` parameter is enough for static analysis, but IDEs
tend to have *unsaved buffers* where the user may still be in tend to have *unsaved buffers* where the user may still be in
the middle of typing a line. In such situations the IDE can the middle of typing a line. In such situations the IDE can
save the current contents to a temporary file and then use the save the current contents to a temporary file and then use the
@ -143,7 +143,7 @@ tab characters (``\t``). The values of each column are:
``def`` for definition, ``sug`` for suggestion, etc). ``def`` for definition, ``sug`` for suggestion, etc).
2. Type of the symbol. This can be ``skProc``, ``skLet``, and just 2. Type of the symbol. This can be ``skProc``, ``skLet``, and just
about any of the enums defined in the module ``compiler/ast.nim``. about any of the enums defined in the module ``compiler/ast.nim``.
3. Full qualitifed path of the symbol. If you are querying a symbol 3. Fully qualified path of the symbol. If you are querying a symbol
defined in the ``proj.nim`` file, this would have the form defined in the ``proj.nim`` file, this would have the form
``proj.symbolName``. ``proj.symbolName``.
4. Type/signature. For variables and enums this will contain the 4. Type/signature. For variables and enums this will contain the