Skip to content

Commit 40b9074

Browse files
authored
Document how to replace diag symbols with ASCII (#27)
Noticed `You may also change the diagnostics symbols as shown in the configuration section.`-piece but nothing is actually shown in configuration section.
1 parent 4b25d09 commit 40b9074

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ lsp_status.config {
116116
```
117117
- `current_function`: Boolean, `true` if the current function should be updated and displayed in the
118118
default statusline component.
119+
- `indicator_*`-group: strings to show as diagnostic warnings. If you don't have Nerd/Awesome Fonts you can replace defaults with ASCII chars like this:
120+
```
121+
-- Put this somewhere near lsp_status.register_progress()
122+
lsp_status.config({
123+
indicator_errors = 'E',
124+
indicator_warnings = 'W',
125+
indicator_info = 'i',
126+
indicator_hint = '?',
127+
indicator_ok = 'Ok',
128+
})
129+
```
130+
119131

120132
## Example Use
121133

0 commit comments

Comments
 (0)