diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-02-04 22:34:07 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-02-04 22:34:07 +0100 |
| commit | f5f16c635d25b2083d9063bf70d62ba632fb4491 (patch) | |
| tree | 69583779f4e4b15d4b36e4a136bc6b48726d64f0 /nvim | |
| parent | b6a35ed817a915dcaf33ff00a80c1fc42a39d1cb (diff) | |
| download | dotfiles-f5f16c635d25b2083d9063bf70d62ba632fb4491.tar.gz dotfiles-f5f16c635d25b2083d9063bf70d62ba632fb4491.tar.bz2 dotfiles-f5f16c635d25b2083d9063bf70d62ba632fb4491.zip | |
Neovim: Optionen in den ftplugin-Einstellungen etwas aufgeräumt
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/ftplugin/lua.lua | 2 | ||||
| -rw-r--r-- | nvim/ftplugin/taskwarrior.lua | 12 | ||||
| -rw-r--r-- | nvim/ftplugin/typescript.lua | 2 |
3 files changed, 9 insertions, 7 deletions
diff --git a/nvim/ftplugin/lua.lua b/nvim/ftplugin/lua.lua index 0883a50..096143b 100644 --- a/nvim/ftplugin/lua.lua +++ b/nvim/ftplugin/lua.lua | |||
| @@ -2,5 +2,5 @@ local opt = vim.opt_local | |||
| 2 | 2 | ||
| 3 | opt.expandtab = true | 3 | opt.expandtab = true |
| 4 | opt.shiftwidth = 2 | 4 | opt.shiftwidth = 2 |
| 5 | opt.tabstop = 2 | ||
| 6 | opt.softtabstop = 2 | 5 | opt.softtabstop = 2 |
| 6 | opt.tabstop = 2 | ||
diff --git a/nvim/ftplugin/taskwarrior.lua b/nvim/ftplugin/taskwarrior.lua index 833a35c..a3c4537 100644 --- a/nvim/ftplugin/taskwarrior.lua +++ b/nvim/ftplugin/taskwarrior.lua | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | vim.opt_local.smartindent = false | 1 | local opt = vim.opt_local |
| 2 | vim.opt_local.cindent = false | 2 | |
| 3 | vim.opt_local.autoindent = false | 3 | opt.autoindent = false |
| 4 | vim.opt_local.indentexpr = "" | 4 | opt.cindent = false |
| 5 | vim.opt_local.indentkeys = "" | 5 | opt.indentexpr = "" |
| 6 | opt.indentkeys = "" | ||
| 7 | opt.smartindent = false | ||
diff --git a/nvim/ftplugin/typescript.lua b/nvim/ftplugin/typescript.lua index 0883a50..096143b 100644 --- a/nvim/ftplugin/typescript.lua +++ b/nvim/ftplugin/typescript.lua | |||
| @@ -2,5 +2,5 @@ local opt = vim.opt_local | |||
| 2 | 2 | ||
| 3 | opt.expandtab = true | 3 | opt.expandtab = true |
| 4 | opt.shiftwidth = 2 | 4 | opt.shiftwidth = 2 |
| 5 | opt.tabstop = 2 | ||
| 6 | opt.softtabstop = 2 | 5 | opt.softtabstop = 2 |
| 6 | opt.tabstop = 2 | ||
