Skip to content

Instantly share code, notes, and snippets.

@default-anton
Last active December 4, 2024 22:06
Show Gist options
  • Save default-anton/ef03d5578bd470b01d8be50f90eae82c to your computer and use it in GitHub Desktop.
Save default-anton/ef03d5578bd470b01d8be50f90eae82c to your computer and use it in GitHub Desktop.
.llmsidekick.lua for Lua
local guidelines = [[
When working with Lua, Claude will:
- Use `vim.api` for Neovim API calls
- Prefer `vim.keymap.set()` for keymappings
- Use `vim.opt` for setting options
- Use appropriate vim.* namespaces for different types of Vim functionality:
- `vim.fn` for calling most VimL functions
- `vim.api` for Neovim API functions
- `vim.lsp` for built-in LSP functionality
- `vim.treesitter` for tree-sitter operations
- `vim.cmd()` for executing VimL commands when necessary
- `vim.*` for other built-in Vim functions
]]
local technologies = [[
- Neovim (0.5+)
- Plenary.nvim
- Telescope.nvim
- Treesitter
- LSP (built-in)
- Lua 5.1
- LuaJIT
- Busted (for testing)
- Luacheck (for linting)
- LuaRocks (package manager)
]]
return {
guidelines = guidelines,
technologies = technologies,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment