Skip to content

Commit

Permalink
Fix(typo): {} -> config.options.ignore_lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoP committed Jul 29, 2024
1 parent bf9c194 commit 11f6de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/project_nvim/project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function M.find_lsp_root()
---@type string
local workspace_root = vim
.iter(vim.lsp.get_clients({ bufnr = 0 }))
:filter(function(client) return not vim.tbl_contains({}, client.name) end)
:filter(function(client) return not vim.tbl_contains(config.options.ignore_lsp, client.name) end)
:map(function(client) return client.workspace_folders end)
:flatten(1)
:map(function(workspace_folder) return workspace_folder.name end)
Expand Down

0 comments on commit 11f6de6

Please sign in to comment.