Updated config
This commit is contained in:
@ -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"
|
||||
|
@ -13,7 +13,7 @@ opt.autowrite = false
|
||||
opt.clipboard = "unnamedplus"
|
||||
opt.conceallevel = 0
|
||||
opt.cursorline = true
|
||||
opt.cursorlineopt = "both"
|
||||
opt.cursorlineopt = "number"
|
||||
opt.expandtab = false
|
||||
opt.grepformat = "%f:%l:%c:%m"
|
||||
opt.grepprg = "rg --grep"
|
||||
|
Reference in New Issue
Block a user