nvim/lua/plugins/nvim-navic.lua

52 lines
1.5 KiB
Lua
Raw Normal View History

2024-07-30 10:06:43 -07:00
return {
'SmiteshP/nvim-navic',
event = { 'LspAttach' },
config = function()
local navic = require('nvim-navic')
navic.setup {
icons = {
File = '',
Module = '',
Namespace = '',
Package = '',
Class = '',
Method = '',
Property = '',
Field = '',
Constructor = '',
Enum = '',
Interface = '',
Function = '',
Variable = '',
Constant = '',
String = '',
Number = '',
Boolean = '',
Array = '',
Object = '',
Key = '',
Null = '',
EnumMember = '',
Struct = '',
Event = '',
Operator = '',
TypeParameter = ''
},
lsp = {
auto_attach = true,
preference = nil,
},
highlight = true,
separator = " > ",
depth_limit = 0,
depth_limit_indicator = "..",
safe_output = true,
lazy_update_context = false,
click = true,
format_text = function(text)
return text
end,
}
end
}