Files
neovim-config/lua/plugins/lsp-lens.lua
2025-08-19 23:57:25 +09:00

23 lines
719 B
Lua

local SymbolKind = vim.lsp.protocol.SymbolKind
return {
'VidocqH/lsp-lens.nvim',
opts = {
enable = true,
include_declaration = false, -- Reference include declaration
sections = { -- Enable / Disable specific request, formatter example looks 'Format Requests'
definition = false,
references = true,
implements = true,
git_authors = true,
},
ignore_filetype = {
"prisma",
},
-- Target Symbol Kinds to show lens information
target_symbol_kinds = { SymbolKind.Function, SymbolKind.Method, SymbolKind.Interface },
-- Symbol Kinds that may have target symbol kinds as children
wrapper_symbol_kinds = { SymbolKind.Class, SymbolKind.Struct },
}
}