Last active
December 4, 2024 22:06
-
-
Save default-anton/ef03d5578bd470b01d8be50f90eae82c to your computer and use it in GitHub Desktop.
.llmsidekick.lua for Lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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