codenexus 0.3.3

A queryable code knowledge graph tool built on LadybugDB and tree-sitter
# EditorConfig is awesome: https://editorconfig.org
# Top-most file — stop searching for more EditorConfig files in parent dirs.
root = true

# ----------------------------------------------------------------------------
# Default for all files
# ----------------------------------------------------------------------------
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
tab_width = 4
max_line_length = 100

# ----------------------------------------------------------------------------
# Rust — must match rustfmt.toml (hard_tabs=false, tab_spaces=4, max_width=100,
# newline_style=Unix). `cargo +nightly fmt` is the source of truth.
# ----------------------------------------------------------------------------
[*.rs]
indent_style = space
indent_size = 4
tab_width = 4
max_line_length = 100

# ----------------------------------------------------------------------------
# TOML — Cargo.toml and friends use 4-space indentation
# ----------------------------------------------------------------------------
[*.toml]
indent_size = 4
tab_width = 4

# ----------------------------------------------------------------------------
# Markdown — 2-space indentation. Do NOT trim trailing whitespace: Markdown
# uses two trailing spaces for hard line breaks.
# ----------------------------------------------------------------------------
[*.md]
indent_size = 2
tab_width = 2
trim_trailing_whitespace = false
max_line_length = off

# ----------------------------------------------------------------------------
# YAML — 2-space indentation (CI workflows, .pre-commit-config.yaml, etc.)
# ----------------------------------------------------------------------------
[*.{yml,yaml}]
indent_size = 2
tab_width = 2
max_line_length = off

# ----------------------------------------------------------------------------
# JSON — 2-space indentation
# ----------------------------------------------------------------------------
[*.json]
indent_size = 2
tab_width = 2

# ----------------------------------------------------------------------------
# Shell scripts — 4-space indentation
# ----------------------------------------------------------------------------
[*.{sh,bash}]
indent_size = 4
tab_width = 4

# ----------------------------------------------------------------------------
# Makefiles — MUST use tabs (make requires literal tab characters)
# ----------------------------------------------------------------------------
[Makefile]
indent_style = tab