From a950ab85c994040de2737f3545a0f8c59289e80b Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 9 Jul 2026 14:00:34 +0200 Subject: ide: remove unnecessary filetype overrides --- .nvim.lua | 11 ----------- .vscode/settings.json | 6 +----- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.nvim.lua b/.nvim.lua index 0f8f5119..ac52b6db 100644 --- a/.nvim.lua +++ b/.nvim.lua @@ -7,17 +7,6 @@ vim.opt.fixeol = false -- Enable Doxygen vim.g.load_doxygen_syntax = true --- C++ -vim.filetype.add({ - pattern = { - [".*/libs/kstd/kstd/.*"] = function(path, _) - if not path:match("%.[^/]+$") then - return "cpp" - end - end - } -}) - -- Debugging local dap = require("dap") local qemu_job_id = nil diff --git a/.vscode/settings.json b/.vscode/settings.json index 26154d1d..e83e19ac 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,11 +14,7 @@ "explorer.fileNesting.enabled": true, "explorer.fileNesting.expand": false, "explorer.fileNesting.patterns": { - "*.hpp": "${capture}.cpp, ${capture}.test.cpp, ${capture}.S", - "*": "${capture}.cpp, ${capture}.test.cpp, ${capture}.S" - }, - "files.associations": { - "**/kstd/kstd/**": "cpp", + "*.hpp": "${capture}.cpp, ${capture}.test.cpp, ${capture}.test.cpp, ${capture}.S", }, "[cpp]": { "editor.formatOnSave": true, -- cgit v1.2.3