Skip to content

Commit d8e0e2a

Browse files
committed
fix: incorrect warn/inform imports (#35)
1 parent 45b6456 commit d8e0e2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/modicator/notifications.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local function warn_missing_options(opts)
1515
opt,
1616
opt
1717
)
18-
require('modicator.utils').warn(message)
18+
require('modicator.notifications').warn(message)
1919
end
2020
end
2121
end
@@ -26,7 +26,7 @@ local function check_deprecated_config(opts)
2626
local message = 'configuration of highlights has changed to highlight '
2727
.. 'groups rather than using `highlights.modes`. Check `:help '
2828
.. 'modicator-configuration` to see the new configuration API.'
29-
require('modicator.utils').warn(message)
29+
require('modicator.notifications').warn(message)
3030
end
3131
end
3232

@@ -49,7 +49,7 @@ function M.show_warnings()
4949
.. 'options for this buffer. If Modicator works as expected in '
5050
.. 'other buffers you can remove the `show_warnings` option '
5151
.. 'from your Modicator configuration.'
52-
require('modicator.utils').inform(message)
52+
require('modicator.notifications').inform(message)
5353
end
5454

5555
check_deprecated_config(options)

0 commit comments

Comments
 (0)