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.2.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.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bibli_ls-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 03e0eb06617d2467bcdfbe321203f3a61fe364f000482402c83bf8bab8788605
MD5 bf8773b79c31d495a552416f97bcfef0
BLAKE2b-256 696635331fef53f4a2dd4c4298d0a507d62aafbd0cf2a5a80d30b2d47dfebead

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bibli_ls-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4da645e67cab5648eb006742beba217d808c26b7c4fca3f4256f62993c4518f5
MD5 46d7a192ec41ad6c1a7844bb4c327ec8
BLAKE2b-256 7c605c2d1d4a631ae2905407b14c3e026a6bb52a3c4b9f3b15ac7e27536443c5

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