Commit 95b2ee0
feat(diagnostic): prefer the signs from
Using vim.fn.sign_define for diagnostic signs is deprecated.
This commit will still fall back on those deprecated sign definitions,
if the new ones created via `vim.diagnostic.config()` are not defined.
This code is largely taken from
#3146
with minor adjustments to actually make it work this time.vim.diagnostic.config()
1 parent 1d7729c commit 95b2ee0
1 file changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
1142 | 1148 | | |
1143 | 1149 | | |
1144 | 1150 | | |
1145 | 1151 | | |
1146 | 1152 | | |
1147 | 1153 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1155 | 1168 | | |
1156 | 1169 | | |
1157 | 1170 | | |
| |||
0 commit comments