https://github.com/sourcegraph/emacs-lsp
LSP support for Emacs
https://github.com/sourcegraph/emacs-lsp
Last synced: 7 months ago
JSON representation
LSP support for Emacs
- Host: GitHub
- URL: https://github.com/sourcegraph/emacs-lsp
- Owner: sourcegraph
- License: mit
- Created: 2016-10-20T21:43:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T20:27:36.000Z (almost 2 years ago)
- Last Synced: 2025-06-26T00:37:35.611Z (7 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 27.3 KB
- Stars: 102
- Watchers: 9
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# emacs-lsp
[LSP](https://github.com/Microsoft/language-server-protocol) minor mode for
Emacs.
This mode will hook into [company-mode](https://company-mode.github.io/) to
provide auto-completion.
# Using
Activate `lsp-mode` in a buffer. Then, press `C-c C-l i` to initialize a
connection to an LSP server. Only connections over TCP are supported right
now.
Each LSP connection is associated with a projectile-project-root. `lsp-mode`
will try to use the connection for the project corresponding to the current
buffer.
Commands:
`C-c C-l i` - initialize a new connection
`C-c C-l g` - go to the definition of the symbol near point
`C-c C-l h` - display hover text for the location at point
`C-c C-l r` - find references to the symbol near point
`C-c C-l s` - search for symbols in the workspace
`C-c C-l q` - shutdown the LSP server
## License
MIT