https://github.com/arizona-framework/arizona.nvim
https://github.com/arizona-framework/arizona.nvim
arizona erlang neovim otp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arizona-framework/arizona.nvim
- Owner: arizona-framework
- Created: 2025-08-29T19:52:53.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-29T21:33:09.000Z (10 months ago)
- Last Synced: 2025-08-29T22:35:43.487Z (10 months ago)
- Topics: arizona, erlang, neovim, otp
- Language: Lua
- Homepage: https://github.com/arizona-framework/arizona
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arizona Framework Neovim Plugin
Language support for Arizona Framework template files (`.herl`).
## What it provides
- **Filetype detection**: `.herl` files automatically recognized as `arizona` filetype
- **Syntax highlighting**: Tree-sitter parser for Arizona template syntax
- **Language injection**: HTML and Erlang completion within template files
## Installation
### Using lazy.nvim
```lua
{
'arizona-framework/arizona.nvim',
dependencies = {
'nvim-treesitter/nvim-treesitter',
'jmbuhr/otter.nvim', -- Optional: for HTML/Erlang completion
},
}
```
### Using packer.nvim
```lua
use {
'arizona-framework/arizona.nvim',
requires = {
'nvim-treesitter/nvim-treesitter',
'jmbuhr/otter.nvim', -- Optional
},
}
```
## Setup
**No configuration needed!** The plugin auto-activates when installed.
## Getting full functionality
1. **Install the tree-sitter parser** (for syntax highlighting):
```
:TSInstall arizona
```
2. **Install otter.nvim** (for HTML/Erlang completion in template files):
```
Include jmbuhr/otter.nvim in your plugin manager dependencies
```
3. **Check everything is working**:
```
:checkhealth arizona
```
## Requirements
- Neovim 0.9+
- nvim-treesitter (required dependency)
- otter.nvim (optional, for language injection)
## LSP Setup
Configure your Erlang LSP separately. Example:
```lua
require('lspconfig').elp.setup({
-- Your ELP configuration
})
```
## 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.
## License
Apache-2.0