citation-langserver
citation-langserver is a language server for working with citations stored in BibTeX or BibLaTeX files.
citation-langserver supports code completion, hover, jump to definition, and find references. It supports absolute file paths for bibliographies, relative file paths, as well as glob-based file paths. It is compatible with all clients that support the Language Server Protocol
Installation
Run pip3 install citation-langserver to install.
Usage
Configure citation-langserver as you would any other LSP in your text editor of choice.
For instance, using CoC in Vim, you might add the following to your coc-settings.json file:
"languageserver": {
"citation": {
"command": "/usr/local/bin/citation-langserver",
"filetypes": ["markdown"],
"settings": {
"citation": {
"bibliographies": [
"~/library.bib",
"./*.bib"
]
}
}
}
}
Configuration
The setting citation.bibliographies needs to be sent by the client to the server and contain an array of file paths. The file paths can include:
- Absolute paths
- Relative paths
- Globs (absolute or relative)
Metadata
Release files for citation-langserver 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| citation-langserver-0.2.2.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| citation_langserver-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / citation-langserver-0.2.2.tar.gz
| Download URL | citation-langserver-0.2.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37c569efc153db8e6992dcfabd7beb31649272c2c7b5ff43a5d895c7e7d8a4a1
|
|
BLAKE2b-256 checksum How to use checksums |
88aa7e94e8d1bfabe3fab7266df78a7239939c620cef78c9970f5751643163f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.4 Linux/5.11.15-zen1-2-zen
|
Release files / citation_langserver-0.2.2-py3-none-any.whl
| Download URL | citation_langserver-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22a2eff0325a0df307f77ea6f5ae637eb20c224575e383b7cdcc418c8392a6cb
|
|
BLAKE2b-256 checksum How to use checksums |
9e03db28a2529a5bbc3e09b557b61ab7ccdb3de43e456cd66bec7e0d2b2cb9d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.4 Linux/5.11.15-zen1-2-zen
|