lua-helper

Guide Lua scripting for Neovim and WezTerm configurations.

127|8|Updated Jun 14, 2022
One-click install
npx skills add https://github.com/shepherdjerred/monorepo --skill lua-helper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lua-helper
Source: https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles/dot_claude/skills/lua-helper
Command: npx skills add https://github.com/shepherdjerred/monorepo --skill lua-helper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation and understanding of Lua scripts for Neovim and WezTerm configurations, helping you write more efficient and maintainable code.

Core Features & Use Cases

  • Neovim API Reference: Provides quick access to Neovim's Lua API for options, keymaps, autocommands, and LSP configuration.
  • WezTerm Configuration: Offers essential patterns for WezTerm keybindings, appearance, and multiplexing.
  • Core Lua Concepts: Explains tables, metatables, coroutines, and modules with practical examples.
  • Use Case: Quickly find the correct Neovim API function to set a buffer-local option or configure a new WezTerm keybinding for pane management.

Quick Start

Show me how to set a Neovim keymap for LSP hover.

Frequently Asked Questions about lua-helper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set a Neovim keymap for LSP hover using Lua?

To set a Neovim keymap for LSP hover using Lua, you use the Neovim Lua API to bind the hover function to a key combination. This Skill provides the exact API references for configuring keymaps and LSP integration.

What is the best way to configure WezTerm keybindings for pane management?

The best way to configure WezTerm keybindings for pane management is by writing Lua scripts that define key combinations for splitting and navigating panes. This Skill offers essential patterns for WezTerm multiplexing and keybinding setups.

How do Lua tables and metatables work when scripting Neovim configurations?

Lua tables and metatables work by providing flexible data structures and object-oriented patterns for organizing Neovim configuration scripts. This Skill explains these core Lua concepts with practical examples for terminal customization.

Can I configure Neovim treesitter and diagnostics entirely through Lua?

Yes, you can configure Neovim treesitter and diagnostics entirely through Lua by accessing the dedicated API functions. This Skill covers Neovim's extensive Lua API for setting up diagnostics, LSP, and treesitter parsing.

Does WezTerm support Lua for configuring appearance and multiplexing?

WezTerm supports Lua for configuring appearance and multiplexing by allowing you to script terminal colors, fonts, and window layouts. This Skill provides the necessary configuration options for customizing WezTerm's appearance and pane management.

How do I set a buffer-local option in Neovim with Lua scripting?

To set a buffer-local option in Neovim with Lua scripting, you call the appropriate Neovim API function with the buffer ID and option value. This Skill facilitates finding the correct API functions for efficient Neovim development.