From bfd52b3195e8025b4a9b2116d4973c2850658ec3 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Tue, 8 Sep 2026 15:42:31 +0200 Subject: cleanup --- nvim/ftplugin/taskedit.lua | 6 +++++- nvim/ftplugin/taskwarrior.lua | 5 ----- nvim/lua/plugins/format.lua | 2 +- nvim/lua/plugins/lsp.lua | 4 ---- 4 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 nvim/ftplugin/taskwarrior.lua diff --git a/nvim/ftplugin/taskedit.lua b/nvim/ftplugin/taskedit.lua index a905acb..ee8fdf0 100644 --- a/nvim/ftplugin/taskedit.lua +++ b/nvim/ftplugin/taskedit.lua @@ -1 +1,5 @@ -vim.cmd.runtime("ftplugin/taskwarrior.lua") +local opt = vim.opt_local + +opt.autoindent = false +opt.indentexpr = "" +opt.indentkeys = "" diff --git a/nvim/ftplugin/taskwarrior.lua b/nvim/ftplugin/taskwarrior.lua deleted file mode 100644 index ee8fdf0..0000000 --- a/nvim/ftplugin/taskwarrior.lua +++ /dev/null @@ -1,5 +0,0 @@ -local opt = vim.opt_local - -opt.autoindent = false -opt.indentexpr = "" -opt.indentkeys = "" diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua index d8f96e2..a8d63b8 100644 --- a/nvim/lua/plugins/format.lua +++ b/nvim/lua/plugins/format.lua @@ -1,6 +1,6 @@ -- Verfügbare Formater: https://github.com/stevearc/conform.nvim/tree/master/lua/conform/formatters -local clang = {} +local clang = {} -- absichtlich leer: c und cpp formatiert clangd, siehe default_format_opts.lsp_format local djlint = { "djlint" } -- pipx install djlint (macOS & FreeBSD); unter Windows kein winget-Paket, siehe neovim-windows-setup.md local gawk = { "gawk" } -- brew install gawk, pkg install gawk local jq = { "jq" } -- brew install jq, pkg install jq diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 8e50357..46892b5 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -34,10 +34,6 @@ return { }, } - vim.lsp.config.bashls = { - filetypes = { "sh", "bash" }, - } - vim.lsp.config.clangd = { cmd = { "clangd", -- cgit v1.3