nvim/ftplugin/json.lua
Jeremie Fraeys 02e26b00b7
Some checks are pending
Check Lua Formatting in MyRepo / Stylua Check (push) Waiting to run
chore(nvim): reinitialize with working config
2026-02-07 21:06:45 -05:00

16 lines
355 B
Lua

-- Use 2 spaces for indentation
vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.expandtab = true
vim.bo.textwidth = 100
vim.wo.wrap = false
-- Enable spell-check for JSON comments
vim.wo.spell = true
-- Enable Folding for JSON
vim.wo.foldmethod = 'syntax'
-- Set conceal level for better JSON readability (e.g., hiding quotes)
vim.wo.conceallevel = 2