Switch to LazyVim.
This commit is contained in:
parent
9eeb3ed88e
commit
5acb10f0aa
24 changed files with 626 additions and 91 deletions
29
_saved/neovim/nvchad/lua/options.lua
Normal file
29
_saved/neovim/nvchad/lua/options.lua
Normal file
|
@ -0,0 +1,29 @@
|
|||
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",
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue