+3
-0
lines changedFilter options
+3
-0
lines changed Original file line number Diff line number Diff line change
@@ -823,6 +823,7 @@ M.handlers.signs = {
823
823
}
824
824
825
825
bufnr = get_bufnr(bufnr)
826
+
opts = opts or {}
826
827
827
828
if opts.signs and opts.signs.severity then
828
829
diagnostics = filter_by_severity(opts.signs.severity, diagnostics)
@@ -890,6 +891,7 @@ M.handlers.underline = {
890
891
}
891
892
892
893
bufnr = get_bufnr(bufnr)
894
+
opts = opts or {}
893
895
894
896
if opts.underline and opts.underline.severity then
895
897
diagnostics = filter_by_severity(opts.underline.severity, diagnostics)
@@ -942,6 +944,7 @@ M.handlers.virtual_text = {
942
944
}
943
945
944
946
bufnr = get_bufnr(bufnr)
947
+
opts = opts or {}
945
948
946
949
local severity
947
950
if opts.virtual_text then
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4