From b6633152e65d2b8788f81721c544d54cb35d162c Mon Sep 17 00:00:00 2001 From: Nydragon Date: Tue, 28 May 2024 14:48:24 +0900 Subject: [PATCH] misc: various changes --- init.lua | 3 --- lua/plugins.lua | 16 +++++++--------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/init.lua b/init.lua index d64024a..56450a8 100644 --- a/init.lua +++ b/init.lua @@ -25,9 +25,6 @@ vim.o.cursorline = true -- Enable auto-indentation vim.o.autoindent = true --- Set completion options -vim.o.completeopt = "menu,menuone,noselect" - -- Highlight search results vim.o.hlsearch = true diff --git a/lua/plugins.lua b/lua/plugins.lua index c58d1be..7834fb0 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -21,6 +21,12 @@ require("lazy").setup({ require("nvim-tree-config") end, opts = { + renderer = { + highlight_modified = "name", + }, + modified = { + enable = true, + }, diagnostics = { enable = true, }, @@ -60,15 +66,7 @@ require("lazy").setup({ }, { "simrat39/rust-tools.nvim", - opts = { - on_attach = function(_, bufnr) - vim.notify("rust-tools attached") - -- Hover actions - vim.keymap.set("n", "", rt.hover_actions.hover_actions, { buffer = bufnr }) - -- Code action groups - vim.keymap.set("n", "a", rt.code_action_group.code_action_group, { buffer = bufnr }) - end, - }, + opts = {}, }, { "axieax/urlview.nvim",