Small changes to config
This commit is contained in:
@@ -40,14 +40,6 @@ opt.isfname:append("@-@")
|
||||
|
||||
opt.updatetime = 50
|
||||
|
||||
--options for whichkey
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
|
||||
-- Options for nvim-tree
|
||||
g.loaded_netrw = 1
|
||||
g.loaded_netrwPlugin = 1
|
||||
|
||||
-- windows
|
||||
if vim.fn.has("win32") == 1 then
|
||||
o.shell = "pwsh"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
init = function()
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
end,
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
|
||||
@@ -2,6 +2,10 @@ return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
enabled = false,
|
||||
init = function()
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
end,
|
||||
config = function()
|
||||
local nvimtree = require("nvim-tree")
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
config = function()
|
||||
local whichkey = require("which-key")
|
||||
|
||||
@@ -14,7 +18,7 @@ return {
|
||||
icons = {
|
||||
breadcrumb = "»",
|
||||
separator = "➜",
|
||||
group = "➜",
|
||||
group = "",
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user