otter.nvim: LSP features for embedded languages (e.g. code chunks in markdown)

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • otter.nvim

    Just ask an otter! 🦦

  • If you can write a treesitter query that captures a) the language and b) the embedded code like here: https://github.com/jmbuhr/otter.nvim/blob/main/lua/otter/tools/queries.lua

  • quarto-nvim

    Quarto mode for Neovim

  • The easiest way to get started with it is via https://github.com/quarto-dev/quarto-nvim but the reason I made it a separate plugin is because it can also be used for other purposes, so I'm excited what usecases you come up with!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • quarto-nvim-kickstarter

    Neovim configuration to show my plugins in action.

  • I view otter.nvim more as a library with tools to use in your config or other plugins. It extract's the code chunks, keeps the otter buffers in sync, provides a nvim-cmp source for completion and forwards modified LSP requests. quarto-nvim on the other hand is specific to quarto documents. So it provides some keybindings to otter functions and sets up the otter.nvim source in the example configuration I provide (https://github.com/jmbuhr/quarto-nvim-kickstarter), but also does things like `quarto preview`.

  • tree-sitter-go-template

    Golang template grammar for tree-sitter

  • I need to work with yaml containing go templates and the current setup is to set the filetype to GOTMPL with this TS grammar and use language injection for thw yaml, basically encasing the yaml in a gotemplate.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts