File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,18 @@ A Neovim plugin that display prettier diagnostic messages. Display one line diag
6
6
7
7
![ tinyinlinediagnostic] ( https://github.com/rachartier/tiny-inline-diagnostic.nvim/assets/2057541/6a6eb093-f473-4e61-b344-08317c6b78e9 )
8
8
9
+
10
+ ### Overflow handling enabled
11
+
12
+
13
+ ![ tinyinlinediagnostic_wrap] ( https://github.com/rachartier/tiny-inline-diagnostic.nvim/assets/2057541/6cc4e622-a4a0-4894-b5c8-76141d4ecd52 )
14
+
15
+
16
+ ### Break line enabled
17
+
18
+ ![ image] ( https://github.com/rachartier/tiny-inline-diagnostic.nvim/assets/2057541/b91625be-ddce-4bb9-979b-f640417a8ed9 )
19
+
20
+
9
21
## 🛠️ Setup
10
22
11
23
- You need to set ` vim.opt.updatetime ` to trigger ` CursorEvent ` faster (ex: ` vim.opt.updatetime = 100 ` )
@@ -50,6 +62,14 @@ require('tiny-inline-diagnostic').setup({
50
62
},
51
63
options = {
52
64
clear_on_insert = false ,
65
+ --- When overflow="wrap", when the message is too long, it is then displayed on multiple lines.
66
+ overflow = " wrap" ,
67
+
68
+ --- Enable it if you want to always have message with `after` characters length.
69
+ break_line = {
70
+ enabled = false ,
71
+ after = 30 ,
72
+ }
53
73
}
54
74
})
55
75
```
You can’t perform that action at this time.
0 commit comments