Updated config

This commit is contained in:
2023-10-20 15:55:21 +02:00
parent 57486c10d7
commit ab6b2b1850
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"