Skip to main content

A simple LSP server for your bibliographies

Project description

Logo

Bibli Language Server

A Language Server that brings bibliographies into your note-taking workflows.

image-version image-license image-python-versions

Current features

  • Per-project configuration file (see Configuration).
  • LSP capabilities
    • Auto-completion
    • Goto definition
    • LSP hover shows selected fields from your bibliography files.

Planned Features

  • Universal: Works with any note format
  • Per-document bibliographies
  • Telescope integration

Configuration

Create a configuration file .bibli.toml at the root of your note directory. Here is a sample configurations:

bibfiles = ["references.bib"] # Relative/Absolute path to your bibliographies

[hover]
show_fields = ["abstract", "year", "booktitle"]
format = "list" # Available formats: "markdown" (markdown table) and "list" (markdown list)

[completion]
cite_prefix = "@"

Installation

Install the latest release of bibli-ls through pip:

pip install bibli-ls

Neovim

Automatic configuration through lspconfig is not supported yet. To enable bibli-ls, put the following code in your Neovim config.

local lspconfig = require("lspconfig")
local configs = require("lspconfig.configs")

if not configs.bibli_ls then
 configs.bibli_ls = {
  default_config = {
   cmd = { "bibli_ls" },
   filetypes = { "markdown" },
   root_dir = lspconfig.util.root_pattern(".bibli.toml"),
  },
 }
end

lspconfig.bibli_ls.setup({})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bibli_ls-0.1.3.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bibli_ls-0.1.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file bibli_ls-0.1.3.tar.gz.

File metadata

  • Download URL: bibli_ls-0.1.3.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for bibli_ls-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2baf2b8e4007515f44f5856c5c2d5541d2db02adf554324e109cd8645745d79b
MD5 5c07ad4fb458cc059ab414442616a364
BLAKE2b-256 6de8a8bb042add4493d22ec22c5273fd6ab89b622d5ce5780be2ed03d385c3fb

See more details on using hashes here.

File details

Details for the file bibli_ls-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bibli_ls-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for bibli_ls-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 967905eae82a96eb431ac0c53a69c2370fffb6d0c38b598f3cf48d3ce99c1ae9
MD5 688b874b5bd1237dc20f0b47839dbf11
BLAKE2b-256 520a1a497258afd6cbf63f1043b3be6023b2bfacf74edbe0c33bb69f959c6360

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page