37 lines
781 B
Lua
37 lines
781 B
Lua
require "nvchad.options"
|
||
|
||
-- add yours here!
|
||
|
||
-- local o = vim.o
|
||
-- o.cursorlineopt ='both' -- to enable cursorline!
|
||
|
||
vim.lsp.inlay_hint.enable(true)
|
||
|
||
vim.o.foldcolumn = "0" -- '0' is not bad
|
||
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
||
vim.o.foldlevelstart = 99
|
||
vim.o.foldenable = true
|
||
vim.opt.fillchars = {
|
||
vert = "▕", -- alternatives │
|
||
fold = " ",
|
||
eob = " ", -- suppress ~ at EndOfBuffer
|
||
diff = "╱", -- alternatives = ⣿ ░ ─
|
||
msgsep = "‾",
|
||
foldopen = "",
|
||
foldsep = "│",
|
||
foldclose = "",
|
||
}
|
||
|
||
vim.o.pumheight = 10
|
||
|
||
vim.api.nvim_create_autocmd("FileType", {
|
||
pattern = "java",
|
||
command = "setlocal shiftwidth=4 tabstop=4"
|
||
})
|
||
|
||
vim.filetype.add({
|
||
extension = {
|
||
yml = 'yaml.ansible'
|
||
}
|
||
})
|