Skip to content

Commit

Permalink
fix broken link and outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seeM authored and tombh committed May 24, 2023
1 parent 46a14fe commit b0d81e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/source/pages/advanced_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ What is a feature in *pygls*? In terms of language servers and the
`Language Server Protocol <https://microsoft.github.io/language-server-protocol/>`__,
a feature is one of the predefined methods from
LSP `specification <https://microsoft.github.io/language-server-protocol/specification>`__,
such as: *code completion*, *formatting*, *code lens*, etc. Features
that are available can be found in `pygls.lsp.methods`_ module.
such as: *code completion*, *formatting*, *code lens*, etc. See the `lsprotocol
<https://github.com/microsoft/lsprotocol/blob/main/packages/python/lsprotocol/types.py>`_ module
for the complete and canonical list of available features.

*Built-In* Features
~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions docs/source/pages/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Register Features and Commands
def cmd_return_hello_world(ls, *args):
return 'Hello World!'
See the `lsprotocol`_ module for the complete and canonical list of avaiable features.
See the `lsprotocol`_ module for the complete and canonical list of available features.

Advanced usage
--------------
Expand All @@ -94,4 +94,4 @@ haven't worked with language servers before.


.. _GitHub: https://github.com/openlawlibrary/pygls
.. _lsprotocol: https://github.com/microsoft/lsprotocol/blob/main/lsprotocol/types.py
.. _lsprotocol: https://github.com/microsoft/lsprotocol/blob/main/packages/python/lsprotocol/types.py

0 comments on commit b0d81e5

Please sign in to comment.