patch-seq lsp neovim plugin
  • Lua 64.7%
  • Vim Script 35.3%
Find a file
2026-05-01 20:10:45 -07:00
doc doc 2026-03-20 15:59:29 -07:00
docs vimdoc 2026-03-19 05:54:22 -07:00
ftdetect init 2025-11-28 12:54:22 -08:00
ftplugin really fix seq comments 2026-01-09 17:53:07 -08:00
indent The plugin now has: 2025-11-28 13:03:30 -08:00
lua/seq-lsp word tab 2026-05-01 20:10:45 -07:00
syntax The plugin now has: 2025-11-28 13:03:30 -08:00
.gitignore rev 2026-03-17 11:54:49 -07:00
LICENSE init 2025-11-28 12:54:22 -08:00
README.md seq comments 2026-01-09 17:50:13 -08:00

patch-seq.nvim

Neovim support for the Seq programming language.

Features

  • Syntax highlighting - Keywords, builtins, strings, comments, stack effects
  • Auto-indentation - Smart indentation for word definitions and control flow
  • LSP integration - Real-time diagnostics (parse errors, type errors, undefined words)
  • Completions - Builtins, local words, included modules
  • Hover - Stack effect signatures for words
  • Breadcrumbs - Document symbols showing word definitions in your statusline
  • Inlay hints - Inline type signatures (opt-in, off by default)

Requirements

  • Neovim 0.10+ (for vim.lsp.start and vim.filetype.add)
  • seq-lsp binary in your PATH

Installing seq-lsp

Install from crates.io:

cargo install seq-lsp

Or build from source:

git clone https://github.com/navicore/patch-seq
cd patch-seq
cargo install --path lsp

Installation

Using lazy.nvim

{
  "navicore/patch-seq.nvim",
  ft = "seq",
  opts = {},
}

With custom configuration

{
  "navicore/patch-seq.nvim",
  ft = "seq",
  opts = {
    -- Enable inlay hints (off by default)
    inlay_hints = true,

    -- Custom path to seq-lsp binary (optional)
    cmd = { "/path/to/seq-lsp" },

    -- LSP capabilities (optional, for completion plugins)
    capabilities = require("cmp_nvim_lsp").default_capabilities(),

    -- on_attach callback (optional)
    on_attach = function(client, bufnr)
      -- Your keymaps here
    end,
  },
}

Manual setup

If you prefer manual configuration:

require("seq-lsp").setup({})

Usage

Once installed, open any .seq file and the LSP will start automatically. Diagnostics appear inline as you type.

License

MIT