Skip to content

Commit fe21b98

Browse files
committed
fix(dotprompt-emacs): remove internal markup from end-user features
1 parent bb87a74 commit fe21b98

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

packages/emacs/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Provides a major mode for editing Dotprompt (`.prompt`) files with syntax highli
44

55
## Features
66

7-
- **Syntax Highlighting**: Handlebars helpers, partials, Dotprompt markers
7+
- **Syntax Highlighting**: Handlebars helpers, partials
88
- **LSP Integration**: Diagnostics, formatting, hover via eglot or lsp-mode
99
- **Format Buffer**: `C-c C-f` or `M-x dotprompt-format-buffer`
1010
- **Format on Save**: Optional automatic formatting
@@ -109,10 +109,10 @@ lsp-mode integration is also automatic:
109109

110110
## Configuration
111111

112-
| Variable | Default | Description |
113-
|----------|---------|-------------|
114-
| `dotprompt-promptly-path` | `"promptly"` | Path to the promptly executable |
115-
| `dotprompt-format-on-save` | `nil` | Format buffer before saving |
112+
| Variable | Default | Description |
113+
| -------------------------- | ------------ | ------------------------------- |
114+
| `dotprompt-promptly-path` | `"promptly"` | Path to the promptly executable |
115+
| `dotprompt-format-on-save` | `nil` | Format buffer before saving |
116116

117117
### Custom promptly path
118118

@@ -128,20 +128,20 @@ lsp-mode integration is also automatic:
128128

129129
## Keybindings
130130

131-
| Key | Command | Description |
132-
|-----|---------|-------------|
131+
| Key | Command | Description |
132+
| --------- | ------------------------- | ------------------------- |
133133
| `C-c C-f` | `dotprompt-format-buffer` | Format the current buffer |
134134

135135
## LSP Features
136136

137137
With LSP enabled (eglot or lsp-mode), you get:
138138

139-
| Feature | Description |
140-
|---------|-------------|
141-
| **Diagnostics** | Real-time error detection for YAML and Handlebars syntax |
142-
| **Formatting** | Format with `M-x eglot-format-buffer` or `M-x lsp-format-buffer` |
143-
| **Hover** | Documentation with `M-x eldoc` or mouse hover |
144-
| **Go to Definition** | Jump to partial files with `M-.` |
139+
| Feature | Description |
140+
| -------------------- | ---------------------------------------------------------------- |
141+
| **Diagnostics** | Real-time error detection for YAML and Handlebars syntax |
142+
| **Formatting** | Format with `M-x eglot-format-buffer` or `M-x lsp-format-buffer` |
143+
| **Hover** | Documentation with `M-x eldoc` or mouse hover |
144+
| **Go to Definition** | Jump to partial files with `M-.` |
145145

146146
## Commands
147147

packages/emacs/dotprompt-mode.el

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@
6969
;; YAML numeric values
7070
'(":\\s-+\\([0-9]+\\.?[0-9]*\\)$" 1 font-lock-constant-face)
7171

72-
;; Dotprompt markers <<<dotprompt:role:system>>> etc.
73-
'("<<<dotprompt:[^>]+>>>" . font-lock-preprocessor-face)
74-
7572
;; Handlebars block comments {{!-- ... --}}
7673
'("{{!--\\(.\\|\n\\)*?--}}" . font-lock-comment-face)
7774

0 commit comments

Comments
 (0)