aboutsummaryrefslogtreecommitdiff
path: root/nvim/ftplugin/json.lua
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-09-07 11:31:58 +0200
committerThomas Schmucker <ts@its1.de>2026-09-08 07:53:26 +0200
commitf63403e394c3fb52827b9362cd31a0a3bdbf08ec (patch)
tree2987984cf9ad9c5b52a8c7f083c48adc7efe2845 /nvim/ftplugin/json.lua
parent6889a8dd32cc7b2982bd46450bcb9654929023cb (diff)
downloaddotfiles-f63403e394c3fb52827b9362cd31a0a3bdbf08ec.tar.gz
dotfiles-f63403e394c3fb52827b9362cd31a0a3bdbf08ec.tar.bz2
dotfiles-f63403e394c3fb52827b9362cd31a0a3bdbf08ec.zip
Unterstützung für jsonc
Diffstat (limited to 'nvim/ftplugin/json.lua')
-rw-r--r--nvim/ftplugin/json.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/nvim/ftplugin/json.lua b/nvim/ftplugin/json.lua
index a6321ff..73b5935 100644
--- a/nvim/ftplugin/json.lua
+++ b/nvim/ftplugin/json.lua
@@ -1,5 +1,3 @@
1local opt = vim.opt_local 1-- Standard-Dateityp für .json-Dateien ist "jsonc" (siehe lua/config/filetypes.lua).
2 2-- Buffer, deren Dateityp explizit "json" ist, erben dieselben Einstellungen.
3opt.expandtab = true 3vim.cmd("runtime! ftplugin/jsonc.lua")
4opt.shiftwidth = 2
5opt.tabstop = 2