From f5f16c635d25b2083d9063bf70d62ba632fb4491 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 4 Feb 2026 22:34:07 +0100 Subject: Neovim: Optionen in den ftplugin-Einstellungen etwas aufgerÀumt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/ftplugin/lua.lua | 2 +- nvim/ftplugin/taskwarrior.lua | 12 +++++++----- nvim/ftplugin/typescript.lua | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'nvim/ftplugin') 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 opt.expandtab = true opt.shiftwidth = 2 -opt.tabstop = 2 opt.softtabstop = 2 +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 @@ -vim.opt_local.smartindent = false -vim.opt_local.cindent = false -vim.opt_local.autoindent = false -vim.opt_local.indentexpr = "" -vim.opt_local.indentkeys = "" +local opt = vim.opt_local + +opt.autoindent = false +opt.cindent = false +opt.indentexpr = "" +opt.indentkeys = "" +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 opt.expandtab = true opt.shiftwidth = 2 -opt.tabstop = 2 opt.softtabstop = 2 +opt.tabstop = 2 -- cgit v1.3