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.1a0.tar.gz (8.0 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.1a0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file bibli_ls-0.1.1a0.tar.gz.

File metadata

  • Download URL: bibli_ls-0.1.1a0.tar.gz
  • Upload date:
  • Size: 8.0 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.1a0.tar.gz
Algorithm Hash digest
SHA256 1f1487ea9ee2de5d13b96e411b75ea358d86b0659a5b9be9f1203e59657be242
MD5 bdf50f873cc72cacfb93542c9ed94cf9
BLAKE2b-256 bed13c91b2c90a50779b9eb8100c51dc23192ffdc7e883ab95653b57fcd6cb9b

See more details on using hashes here.

File details

Details for the file bibli_ls-0.1.1a0-py3-none-any.whl.

File metadata

  • Download URL: bibli_ls-0.1.1a0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dbdb0c61225c7e01c31adf6492df02650dbb49da30bed243b4262c9a892b84e
MD5 74c2bb1514dda95e957c7d35bc65770f
BLAKE2b-256 b6b51d00cc6443e04228aa9494d669980d0f8d77841d2fa2169aca85cef65a4f

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