Reworked config using chezmoi
This commit is contained in:
36
dot_config/nvim/lua/options.lua
Normal file
36
dot_config/nvim/lua/options.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
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'
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user