summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua
init
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua52
1 files changed, 52 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua
new file mode 100644
index 0000000..89cfa81
--- /dev/null
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/navic.lua
@@ -0,0 +1,52 @@
+return {
+ "SmiteshP/nvim-navic",
+ dependencies = {
+ "neovim/nvim-lspconfig",
+ },
+ config = function()
+ require("nvim-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 = 5,
+ depth_limit_indicator = "..",
+ safe_output = true,
+ lazy_update_context = false,
+ click = true,
+ format_text = function(text)
+ return text
+ end,
+ })
+ end,
+}