Files
DCGOS/home/nvim/lua/config/options.lua
dichgrem 0bd5d771c0 chore:nvim_setting
feat:use biome fmt
test:add copilot
chore:let terminal just one
fix:keymaps for close buffer
fix:disable markdown view && fix conceallevel
2025-12-16 23:56:56 +08:00

17 lines
511 B
Lua

-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- Disable autoformat
vim.g.autoformat = false
-- Let terminal just one
vim.g.root_spec = { "cwd" }
-- Disable markdown views
vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown",
callback = function()
vim.opt_local.conceallevel = 0
vim.opt_local.concealcursor = ""
end,
})