Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,46 @@ require('lspconfig').elp.setup({
})
```

## Development

To test the local plugin during development:

```lua
{
dir = "/path/to/arizona.nvim",
name = "arizona.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"jmbuhr/otter.nvim",
},
}
```

### Development Commands

```bash
# Install dependencies for local development
make install

# Run tests
make test

# Check code formatting
make lint

# Format code with stylua
make format

# Run health check
make health

# Clean temporary files
make clean

# Run all CI checks (lint + test + health)
make ci
```

## Troubleshooting

Run `:checkhealth arizona` to see what's working and what needs setup.
Expand Down
1 change: 1 addition & 0 deletions plugin/arizona.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local function setup_treesitter()
branch = "main",
},
filetype = "arizona",
used_by = { "arizona", "erlang" },
}
end

Expand Down
1 change: 1 addition & 0 deletions tests/arizona_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ describe("Arizona Framework Plugin", function()
)
assert.same({ "src/parser.c" }, parser_config.install_info.files)
assert.equals("main", parser_config.install_info.branch)
assert.same({ "arizona", "erlang" }, parser_config.used_by)
else
pending("nvim-treesitter not available in test environment")
end
Expand Down