Move to NvChad 3.5; move repository path to a variable.

This commit is contained in:
Bartek Stalewski 2024-03-30 00:33:15 +01:00
parent 447a1f0511
commit af1740df8d
No known key found for this signature in database
21 changed files with 290 additions and 20 deletions

27
_cli/nvim/lua/options.lua Normal file
View file

@ -0,0 +1,27 @@
require "nvchad.options"
-- add yours here!
local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline!
o.gdefault = true
o.hlsearch = false
o.shiftround = true
o.relativenumber = false
o.wrap = true
o.writebackup = false
o.clipboard = ""
o.foldcolumn = "0"
o.mouse = ""
o.whichwrap = ''
local autocmd = vim.api.nvim_create_autocmd
autocmd("BufRead", {
pattern = "*.gotmpl",
command = "set filetype=yaml",
})
autocmd("BufNewFile", {
pattern = "*.gotmpl",
command = "set filetype=yaml",
})