npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@holoscript/neovim

v1.0.0

Published

Neovim plugin for HoloScript language support

Readme

HoloScript.nvim

Neovim plugin for HoloScript language support.

Features

  • 🎨 Syntax Highlighting - Full highlighting for .holo and .hsplus files
  • 🔧 LSP Integration - Auto-connects to @holoscript/lsp for:
    • Code completion
    • Hover documentation
    • Go to definition
    • Diagnostics
    • Code actions
  • 📁 Filetype Detection - Automatic recognition of HoloScript files
  • 🔄 Format on Save - Optional auto-formatting
  • ⌨️ Commands - Validate, preview compiled output, open docs

Installation

Lazy.nvim

{
  'holoscript/holoscript.nvim',
  ft = { 'holo', 'hsplus' },
  opts = {
    -- your config here
  }
}

Packer

use {
  'holoscript/holoscript.nvim',
  config = function()
    require('holoscript').setup()
  end
}

Manual

Clone to your nvim packages:

git clone https://github.com/holoscript/holoscript.nvim \
  ~/.local/share/nvim/site/pack/plugins/start/holoscript.nvim

Requirements

  • Neovim 0.7+
  • nvim-lspconfig (for LSP features)
  • @holoscript/lsp (install globally or use npx)
npm install -g @holoscript/lsp

Configuration

require('holoscript').setup({
  lsp = {
    enabled = true,
    cmd = { "npx", "@holoscript/lsp", "--stdio" },
  },

  -- Avoid .hs conflict with Haskell
  register_hs_extension = false,

  -- Format on save
  format_on_save = false,

  -- Keymaps (false to disable)
  keymaps = {
    format = "<leader>hf",
    validate = "<leader>hv",
    compile_preview = "<leader>hp",
    goto_definition = "gd",
    hover = "K",
    code_action = "<leader>ca",
  },

  diagnostics = {
    enabled = true,
    virtual_text = true,
    signs = true,
    underline = true,
  },
})

Commands

| Command | Description | | ----------------------------- | ---------------------------------------------- | | :HoloScriptValidate | Validate current buffer | | :HoloScriptPreview [target] | Preview compiled output (e.g., r3f, unity) | | :HoloScriptDocs [topic] | Open documentation | | :HoloScriptNew [name] | Insert new composition template |

Keymaps

Default keymaps (customizable via config):

| Key | Action | | ------------ | ------------------- | | gd | Go to definition | | K | Hover documentation | | <leader>ca | Code actions | | <leader>hf | Format buffer | | <leader>hv | Validate | | <leader>hp | Compile preview |

Supported File Types

| Extension | Filetype | Description | | --------- | ------------ | ---------------------------------------- | | .holo | holo | Declarative compositions | | .hsplus | hsplus | HoloScript Plus with VR traits | | .hs | holoscript | Classic HoloScript (disabled by default) |

Note: .hs registration is disabled by default to avoid conflicts with Haskell. Enable with register_hs_extension = true.

Highlighting Groups

The plugin defines these highlight groups that you can customize:

hi holoKeyword guifg=#c678dd
hi holoTrait guifg=#e5c07b
hi holoType guifg=#61afef
hi holoProperty guifg=#98c379
hi holoString guifg=#98c379
hi holoNumber guifg=#d19a66
hi holoComment guifg=#5c6370

Troubleshooting

LSP not starting

  1. Ensure @holoscript/lsp is installed:

    npm list -g @holoscript/lsp
  2. Check :LspInfo for connection status

  3. Try manual start:

    :lua require('lspconfig').holoscript.launch()

Syntax not highlighting

Check filetype is set:

:set filetype?

Should show filetype=holo

License

MIT