1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-10 19:41:15 +02:00

nvim: changed ctags plugin

This commit is contained in:
2024-03-08 03:45:12 +01:00
parent fd28f92833
commit f26bda0261
5 changed files with 96 additions and 64 deletions

View File

@@ -1,17 +0,0 @@
return {
-- ctags like menu
{
'stevearc/aerial.nvim',
opts = {
layout = {
max_width = { 50, 0.2 },
min_width = 25,
resize_to_content = false,
},
},
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons"
},
}
}

View File

@@ -0,0 +1,39 @@
return {
-- ctags like menu
{
"simrat39/symbols-outline.nvim",
opts = {
width = 25,
symbols = {
File = { icon = Lsp_signs.File, hl = "@text.uri" },
Module = { icon = Lsp_signs.Module, hl = "@namespace" },
Class = { icon = Lsp_signs.Class, hl = "@type" },
Method = { icon = Lsp_signs.Method, hl = "@method" },
Property = { icon = Lsp_signs.Property, hl = "@method" },
Field = { icon = Lsp_signs.Field, hl = "@field" },
Constructor = { icon = Lsp_signs.Constructor, hl = "@constructor" },
Enum = { icon = Lsp_signs.Enum, hl = "@type" },
Interface = { icon = Lsp_signs.Interface, hl = "@type" },
Function = { icon = Lsp_signs.Function, hl = "@function" },
Variable = { icon = Lsp_signs.Variable, hl = "@constant" },
Constant = { icon = Lsp_signs.Constant, hl = "@constant" },
Key = { icon = Lsp_signs.Keyword, hl = "@type" },
EnumMember = { icon = Lsp_signs.EnumMember, hl = "@field" },
Struct = { icon = Lsp_signs.Struct, hl = "@type" },
Event = { icon = Lsp_signs.Event, hl = "@type" },
Operator = { icon = Lsp_signs.Operator, hl = "@operator" },
TypeParameter = { icon = Lsp_signs.TypeParameter, hl = "@parameter" },
Boolean = { icon = Lsp_signs.Boolean, hl = "@boolean" },
Null = { icon = Lsp_signs.Null, hl = "@type" },
Component = { icon = Lsp_signs.Component, hl = "@function" },
Fragment = { icon = Lsp_signs.Fragment, hl = "@constant" },
Object = { icon = Lsp_signs.Object, hl = "@type" },
Array = { icon = Lsp_signs.Array, hl = "@constant" },
Number = { icon = Lsp_signs.Number, hl = "@number" },
String = { icon = Lsp_signs.String, hl = "@string" },
Namespace = { icon = Lsp_signs.Namespace, hl = "@namespace" },
Package = { icon = Lsp_signs.Package, hl = "@namespace" },
},
},
},
}