# akene-uzezi/neovim architecture

> Architecture diagram of the GitHub repository akene-uzezi/neovim, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/akene-uzezi/neovim
- Repository: https://github.com/akene-uzezi/neovim

## Overview

This repository is a LazyVim-based Neovim configuration, with a local collaborative-editing plugin as its distinct runtime feature. The main user workflow is to use Neovim with the configured editor capabilities; users can also start a collaboration session that connects to a Go server over TCP. The README documents plugin and capability groupings, but no source excerpts were provided, so internal calls and detailed runtime sequencing are not asserted.

Main entry points: [`lua/vim-with-me/init.lua`](https://github.com/akene-uzezi/neovim/blob/main/lua/vim-with-me/init.lua) (Session Commands), [`init.lua`](https://github.com/akene-uzezi/neovim/blob/main/init.lua) (Config Entry), [`lua/vim-with-me/app`](https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/app) (App Logic), [`lua/vim-with-me/tcp`](https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/tcp) (TCP Connection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_config["Neovim Configuration"]
  node_entry["Config Entry<br/>[init.lua]"]
  node_lazy["LazyVim Setup<br/>[lazy.lua]"]
  node_keymaps["Custom Keymaps<br/>[keymaps.lua]"]
  node_options["Editor Options<br/>[options.lua]"]
end

subgraph group_editor["Editor Capabilities"]
  node_ui["UI Plugins<br/>[dashboard.lua]"]
  node_finder["Fuzzy Finder<br/>[telescope.lua]"]
  node_theme["Theme<br/>[black.lua]"]
  node_protobuf["Protobuf Support<br/>[protobuf.lua]"]
  node_language["Language Extras<br/>[lazyvim.json]"]
  node_editor_defaults["LazyVim Features<br/>[lazy.lua]"]
end

subgraph group_collab["Collaboration Plugin"]
  node_collab_loader["Plugin Loader<br/>[vim-with-me.lua]"]
  node_collab_entry["Session Commands<br/>[init.lua]"]
  node_app["App Logic"]
  node_token["Token Handling<br/>[token.lua]"]
  node_tcp["TCP Connection"]
  node_window["Window Management"]
end

subgraph group_external["External Services"]
  node_server{{"Go Collaboration Server"}}
end

node_user(("Neovim User"))
node_nvim["Neovim"]

node_user -->|"uses"| node_nvim
node_nvim -->|"loads config"| node_entry
node_entry -->|"sets up"| node_lazy
node_user -->|"finds files"| node_finder
node_user -->|"uses interface"| node_ui
node_user -->|"uses theme"| node_theme
node_user -->|"edits Protobuf"| node_protobuf
node_user -->|"uses language tools"| node_language
node_user -->|"uses editor tools"| node_editor_defaults
node_user -->|"starts session"| node_collab_entry
node_collab_loader -->|"loads local plugin"| node_collab_entry
node_collab_entry -.->|"opens session connection"| node_tcp
node_collab_entry -.->|"runs app logic"| node_app
node_collab_entry -.->|"manages windows"| node_window
node_app -.->|"handles tokens"| node_token
node_tcp -->|"connects over TCP"| node_server

click node_entry "https://github.com/akene-uzezi/neovim/blob/main/init.lua"
click node_lazy "https://github.com/akene-uzezi/neovim/blob/main/lua/config/lazy.lua"
click node_keymaps "https://github.com/akene-uzezi/neovim/blob/main/lua/config/keymaps.lua"
click node_options "https://github.com/akene-uzezi/neovim/blob/main/lua/config/options.lua"
click node_ui "https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/dashboard.lua"
click node_finder "https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/telescope.lua"
click node_theme "https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/black.lua"
click node_protobuf "https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/protobuf.lua"
click node_language "https://github.com/akene-uzezi/neovim/blob/main/lazyvim.json"
click node_editor_defaults "https://github.com/akene-uzezi/neovim/blob/main/lua/config/lazy.lua"
click node_collab_loader "https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/vim-with-me.lua"
click node_collab_entry "https://github.com/akene-uzezi/neovim/blob/main/lua/vim-with-me/init.lua"
click node_app "https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/app"
click node_token "https://github.com/akene-uzezi/neovim/blob/main/lua/vim-with-me/app/token.lua"
click node_tcp "https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/tcp"
click node_window "https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/window"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_lazy,node_keymaps,node_options,node_user toneBlue
class node_ui,node_finder,node_theme,node_protobuf,node_language,node_editor_defaults toneAmber
class node_collab_loader,node_collab_entry,node_app,node_token,node_tcp,node_window toneMint
class node_server toneRose
class node_nvim toneIndigo
```

## Components

### Neovim Configuration

- [Config Entry](https://github.com/akene-uzezi/neovim/blob/main/init.lua): `init.lua`
- [LazyVim Setup](https://github.com/akene-uzezi/neovim/blob/main/lua/config/lazy.lua): `lua/config/lazy.lua`
- [Custom Keymaps](https://github.com/akene-uzezi/neovim/blob/main/lua/config/keymaps.lua): `lua/config/keymaps.lua`
- [Editor Options](https://github.com/akene-uzezi/neovim/blob/main/lua/config/options.lua): `lua/config/options.lua`

### Editor Capabilities

- [UI Plugins](https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/dashboard.lua): `lua/plugins/dashboard.lua`
- [Fuzzy Finder](https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/telescope.lua): `lua/plugins/telescope.lua`
- [Theme](https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/black.lua): `lua/plugins/black.lua`
- [Protobuf Support](https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/protobuf.lua): `lua/plugins/protobuf.lua`
- [Language Extras](https://github.com/akene-uzezi/neovim/blob/main/lazyvim.json): `lazyvim.json`
- [LazyVim Features](https://github.com/akene-uzezi/neovim/blob/main/lua/config/lazy.lua): `lua/config/lazy.lua`

### Collaboration Plugin

- [Plugin Loader](https://github.com/akene-uzezi/neovim/blob/main/lua/plugins/vim-with-me.lua): `lua/plugins/vim-with-me.lua`
- [Session Commands](https://github.com/akene-uzezi/neovim/blob/main/lua/vim-with-me/init.lua): `lua/vim-with-me/init.lua`
- [App Logic](https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/app): `lua/vim-with-me/app`
- [Token Handling](https://github.com/akene-uzezi/neovim/blob/main/lua/vim-with-me/app/token.lua): `lua/vim-with-me/app/token.lua`
- [TCP Connection](https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/tcp): `lua/vim-with-me/tcp`
- [Window Management](https://github.com/akene-uzezi/neovim/tree/main/lua/vim-with-me/window): `lua/vim-with-me/window`

### External Services

- **Go Collaboration Server**

### Other components

- **Neovim User**
- **Neovim**

## Connections

- Neovim User → Neovim: uses (evidence: `README.md`)
- Neovim → Config Entry: loads config (evidence: `README.md`)
- Config Entry → LazyVim Setup: sets up (evidence: `README.md`)
- Neovim User → Fuzzy Finder: finds files (evidence: `README.md`)
- Neovim User → UI Plugins: uses interface (evidence: `README.md`)
- Neovim User → Theme: uses theme (evidence: `README.md`)
- Neovim User → Protobuf Support: edits Protobuf (evidence: `README.md`)
- Neovim User → Language Extras: uses language tools (evidence: `README.md`)
- Neovim User → LazyVim Features: uses editor tools (evidence: `README.md`)
- Neovim User → Session Commands: starts session (evidence: `README.md`)
- Plugin Loader → Session Commands: loads local plugin (evidence: `README.md`)
- Session Commands → TCP Connection: opens session connection
- Session Commands → App Logic: runs app logic
- Session Commands → Window Management: manages windows
- App Logic → Token Handling: handles tokens
- TCP Connection → Go Collaboration Server: connects over TCP (evidence: `README.md`)
