Small changes to config

This commit is contained in:
2023-09-25 14:08:50 +02:00
parent 3334cd2321
commit d71d0858f4
4 changed files with 13 additions and 9 deletions

View File

@@ -40,14 +40,6 @@ opt.isfname:append("@-@")
opt.updatetime = 50 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 -- windows
if vim.fn.has("win32") == 1 then if vim.fn.has("win32") == 1 then
o.shell = "pwsh" o.shell = "pwsh"

View File

@@ -1,5 +1,9 @@
return { return {
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
init = function()
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
branch = "v3.x", branch = "v3.x",
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",

View File

@@ -2,6 +2,10 @@ return {
"nvim-tree/nvim-tree.lua", "nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
enabled = false, enabled = false,
init = function()
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
config = function() config = function()
local nvimtree = require("nvim-tree") local nvimtree = require("nvim-tree")

View File

@@ -1,5 +1,9 @@
return { return {
"folke/which-key.nvim", "folke/which-key.nvim",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
config = function() config = function()
local whichkey = require("which-key") local whichkey = require("which-key")
@@ -14,7 +18,7 @@ return {
icons = { icons = {
breadcrumb = "»", breadcrumb = "»",
separator = "", separator = "",
group = "", group = "",
}, },
}) })