Updated config

This commit is contained in:
Eduard Urbach 2023-10-20 15:55:21 +02:00
parent 3ef6b167dc
commit 07e063dffb
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 63 additions and 79 deletions

View file

@ -1,16 +1,5 @@
local on = vim.api.nvim_create_autocmd
on("VimEnter", {
callback = function()
local files = require("nvim-tree.api")
local width = vim.go.columns
if width > 120 then
files.tree.toggle({ focus = false })
end
end,
})
on({ "TermOpen", "TermEnter" }, {
callback = function()
vim.opt_local.signcolumn = "no"