Skip to content

Commit 53e817f

Browse files
committed
TOML mode
1 parent d6970e3 commit 53e817f

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

content/en/modes/toml.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: TOML
3+
---
4+
5+
`toml-mode` is a major mode for editing TOML configuration files.
6+
7+
It features:
8+
9+
- Syntax highlighting via tree-sitter with TextMate fallback
10+
- full coverage of TOML v1.0.0 syntax elements.
11+
- Automatic mode activation for `.toml` files (e.g., Cargo.toml, pyproject.toml)
12+
- Line comment support using `#` character
13+
- Consistent visual appearance with yaml-mode and json-mode
14+
15+
16+
### Usage
17+
18+
```lisp
19+
;; Load the mode
20+
(ql:quickload :lem-toml-mode)
21+
22+
;; Mode activates automatically for .toml files
23+
;; Or manually: M-x toml-mode
24+
```
25+
26+
## AI Usage Disclosure
27+
28+
Did you use LLMs/AI tools for [this PR](https://github.com/lem-project/lem/pull/2065)?
29+
30+
- [ ] No, this is 100% human-authored.
31+
- [ ] Yes, AI-assisted (Human-led logic, AI-assisted implementation).
32+
- [x] Yes, AI-generated (Logic primarily derived from prompt/vibe).
33+
34+
Tooling Used: Claude Code (Claude Opus 4.5)

0 commit comments

Comments
 (0)