Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
david-0609 committed May 7, 2024
1 parent 662fb1a commit e8c3c72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/obsidian/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ config.ClientOpts.normalize = function(opts, defaults)
if warn then
log.warn_once(
"The config options 'completion.prepend_note_id', 'completion.prepend_note_path', and 'completion.use_path_only' "
.. "are deprecated. Please use 'wiki_link_func' instead.\n"
.. "See https://github.com/epwalsh/obsidian.nvim/pull/406"
.. "are deprecated. Please use 'wiki_link_func' instead.\n"
.. "See https://github.com/epwalsh/obsidian.nvim/pull/406"
)
end
end
Expand All @@ -155,7 +155,7 @@ config.ClientOpts.normalize = function(opts, defaults)
opts.completion.preferred_link_style = nil
log.warn_once(
"The config option 'completion.preferred_link_style' is deprecated, please use the top-level "
.. "'preferred_link_style' instead."
.. "'preferred_link_style' instead."
)
end

Expand All @@ -164,15 +164,15 @@ config.ClientOpts.normalize = function(opts, defaults)
opts.completion.new_notes_location = nil
log.warn_once(
"The config option 'completion.new_notes_location' is deprecated, please use the top-level "
.. "'new_notes_location' instead."
.. "'new_notes_location' instead."
)
end

if opts.detect_cwd ~= nil then
opts.detect_cwd = nil
log.warn_once(
"The 'detect_cwd' field is deprecated and no longer has any affect.\n"
.. "See https://github.com/epwalsh/obsidian.nvim/pull/366 for more details."
.. "See https://github.com/epwalsh/obsidian.nvim/pull/366 for more details."
)
end

Expand Down

0 comments on commit e8c3c72

Please sign in to comment.