dotfiles/_saved/neovim/nvchad/lua/options.lua

30 lines
555 B
Lua
Raw Normal View History

require "nvchad.options"
-- add yours here!
local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline!
o.gdefault = true
o.hlsearch = false
2024-09-20 12:35:53 +02:00
o.inccommand = "split"
o.relativenumber = false
2024-10-25 23:33:33 +02:00
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",
})