diff options
Diffstat (limited to 'nvim/ftplugin/json.lua')
| -rw-r--r-- | nvim/ftplugin/json.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nvim/ftplugin/json.lua b/nvim/ftplugin/json.lua index 341b728..a6321ff 100644 --- a/nvim/ftplugin/json.lua +++ b/nvim/ftplugin/json.lua | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | -- Standard-Dateityp für .json-Dateien ist "jsonc" (siehe lua/config/filetypes.lua). | 1 | local opt = vim.opt_local |
| 2 | -- Buffer, deren Dateityp explizit "json" ist, erben dieselben Einstellungen. | 2 | |
| 3 | vim.cmd.runtime("ftplugin/jsonc.lua") | 3 | opt.expandtab = true |
| 4 | opt.shiftwidth = 2 | ||
| 5 | opt.tabstop = 2 | ||
