mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 03:08:13 +00:00
fix(picker.lsp): include_current on Windows. Closes #678
This commit is contained in:
parent
c642aad9d8
commit
66d2854ea0
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ function M.get_locations(method, opts, filter)
|
||||||
if not opts.include_current then
|
if not opts.include_current then
|
||||||
---@param item vim.quickfix.entry
|
---@param item vim.quickfix.entry
|
||||||
items = vim.tbl_filter(function(item)
|
items = vim.tbl_filter(function(item)
|
||||||
if item.filename ~= fname then
|
if vim.fs.normalize(item.filename) ~= fname then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
if not item.lnum then
|
if not item.lnum then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue