Skip to content

Commit

Permalink
fix: disable symbol-usage, cause it slows down projects a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
onjin committed Jun 7, 2024
1 parent 4c4e74d commit 60ed3c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
20 changes: 11 additions & 9 deletions lua/custom/plugins/code-usage.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
return {
{
"Wansmer/symbol-usage.nvim",
event = "BufReadPre", -- need run before LspAttach if you use nvim 0.9. On 0.10 use 'LspAttach'
config = function()
require("symbol-usage").setup {
vt_position = "above",
}
end,
},
-- {
-- {
-- "Wansmer/symbol-usage.nvim",
-- event = "BufReadPre", -- need run before LspAttach if you use nvim 0.9. On 0.10 use 'LspAttach'
-- config = function()
-- require("symbol-usage").setup {
-- vt_position = "above",
-- }
-- end,
-- },
-- },
}
7 changes: 6 additions & 1 deletion lua/custom/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,14 @@ return {
analysis = {
autoSearchPaths = true,
exclude = {
"**/node_modules",
"**/.cache",
"**/.mypy_cache",
"**/.pytest_cache",
"**/.ruff_cache",
"**/.venv",
"**/__pycache__",
"**/dist",
"**/node_modules",
},
indexing = true,
typeCheckingMode = "strict",
Expand Down

0 comments on commit 60ed3c3

Please sign in to comment.