30 lines
555 B
Lua
30 lines
555 B
Lua
require "nvchad.options"
|
|
|
|
-- add yours here!
|
|
|
|
local o = vim.o
|
|
-- o.cursorlineopt ='both' -- to enable cursorline!
|
|
o.gdefault = true
|
|
o.hlsearch = false
|
|
o.inccommand = "split"
|
|
o.relativenumber = false
|
|
o.shiftround = true
|
|
o.termguicolors = true
|
|
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",
|
|
})
|