28 lines
509 B
Lua
28 lines
509 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.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",
|
||
|
})
|