Switch to nvchad.

This commit is contained in:
Bartek Stalewski 2023-10-14 14:48:19 +02:00
parent 4ffa1ed610
commit dae4bd3581
21 changed files with 253 additions and 2 deletions

22
_nvchad_custom/init.lua Normal file
View file

@ -0,0 +1,22 @@
local autocmd = vim.api.nvim_create_autocmd
local opt = vim.opt
autocmd("BufRead", {
pattern = "*.gotmpl",
command = "set filetype=yaml",
})
autocmd("BufNewFile", {
pattern = "*.gotmpl",
command = "set filetype=yaml",
})
opt.hlsearch = false
opt.shiftround = true
opt.relativenumber = false
opt.wrap = true
opt.writebackup = false
opt.foldcolumn = "0"
-- opt.laststatus = 2
-- opt.mouse = ""
-- opt.scrolloff = 5