Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 22, 2024
1 parent 7f510c5 commit ea841ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/dotvim/extra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ M.obsidian = require("dotvim.extra.obsidian")
M.ui = require("dotvim.extra.ui")

---@type dotvim.extra.lsp
local Lsp = require("dotvim.extra.lsp")
M.Lsp = require("dotvim.extra.lsp")

return M
2 changes: 1 addition & 1 deletion lua/dotvim/extra/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function M.get_lsp_item_import_location(completion, source)
local import = imports[1]
local full_import_path = import.full_import_path
local imported_name = import.imported_name
local i, j = full_import_path:find("::" .. imported_name .. "$")
local i, _ = full_import_path:find("::" .. imported_name .. "$")
if i == nil then
return
end
Expand Down

0 comments on commit ea841ef

Please sign in to comment.