commit
This commit is contained in:
parent
6a2c2ddc61
commit
7c9a35820d
@ -2,6 +2,7 @@ local map = vim.keymap.set
|
||||
|
||||
-- neo-tree
|
||||
map("n", "<leader>e", ":Neotree<CR>", { desc = "nvimtree focus window" })
|
||||
map("n", "<leader>g", ":Neotree git_status float<CR>", { desc = "open gis status" })
|
||||
|
||||
-- telescope
|
||||
map("n", "<leader>ff", ":Telescope live_grep<CR>", { desc = "telescope live grep" })
|
||||
|
@ -1,11 +1,12 @@
|
||||
return {
|
||||
"lewis6991/gitsigns.nvim",
|
||||
|
||||
event = "User FilePost",
|
||||
opts = function()
|
||||
return {
|
||||
signs = {
|
||||
delete = { text = "" },
|
||||
changedelete = { text = "" },
|
||||
delete = { text = "" },
|
||||
changedelete = { text = "" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
@ -1,3 +1,5 @@
|
||||
local fn = vim.fn
|
||||
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
@ -7,4 +9,19 @@ return {
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
config = function()
|
||||
fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticSignError" })
|
||||
fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSignWarn" })
|
||||
fn.sign_define("DiagnosticSignInfo", { text = " ", texthl = "DiagnosticSignInfo" })
|
||||
fn.sign_define("DiagnosticSignHint", { text = " ", texthl = "DiagnosticSignHint" })
|
||||
|
||||
require("neo-tree").setup({
|
||||
default_component_configs = {
|
||||
modified = {
|
||||
symbol = "",
|
||||
highlight = "NeoTreeModified",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user