diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-09-08 15:07:39 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-09-08 15:07:39 +0200 |
| commit | 62a3a13e0a3dc5fdb3f85b4b7ddb8ab0b97c8b52 (patch) | |
| tree | 3ba505a94db981a5f86fad63558de546635a9fb7 /nvim/ftplugin/jsonc.lua | |
| parent | 28f515c95ab95f92ab60053afd3a44d4b7f67598 (diff) | |
| download | dotfiles-62a3a13e0a3dc5fdb3f85b4b7ddb8ab0b97c8b52.tar.gz dotfiles-62a3a13e0a3dc5fdb3f85b4b7ddb8ab0b97c8b52.tar.bz2 dotfiles-62a3a13e0a3dc5fdb3f85b4b7ddb8ab0b97c8b52.zip | |
Einfacheres JSON(c)-Handling
Diffstat (limited to 'nvim/ftplugin/jsonc.lua')
| -rw-r--r-- | nvim/ftplugin/jsonc.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nvim/ftplugin/jsonc.lua b/nvim/ftplugin/jsonc.lua index a6321ff..4c9fd66 100644 --- a/nvim/ftplugin/jsonc.lua +++ b/nvim/ftplugin/jsonc.lua | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | local opt = vim.opt_local | 1 | -- jsonc entsteht nicht durch Dateityp-Erkennung, sondern nur wenn es explizit |
| 2 | 2 | -- gesetzt wird (z.B. per Modeline). Die Einstellungen sind dieselben wie fuer json. | |
| 3 | opt.expandtab = true | 3 | vim.cmd.runtime("ftplugin/json.lua") |
| 4 | opt.shiftwidth = 2 | ||
| 5 | opt.tabstop = 2 | ||
