52 lines
1.5 KiB
Lua
52 lines
1.5 KiB
Lua
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
|
|
}
|