From b186eb09f974e05214100e113fe53b4e7b67e61c Mon Sep 17 00:00:00 2001 From: n3wborn Date: Tue, 6 Aug 2024 05:53:35 +0200 Subject: [PATCH] refactor(ft): remove twig filetype autocmd twiggy ls handle both twig and twig.html, so this is now useless --- lua/custom/autocommands.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/custom/autocommands.lua b/lua/custom/autocommands.lua index f3504c0..7a39e91 100644 --- a/lua/custom/autocommands.lua +++ b/lua/custom/autocommands.lua @@ -14,12 +14,6 @@ vim.api.nvim_create_autocmd({ 'FileType' }, { desc = 'Fix conceallevel for json an help files', }) -vim.api.nvim_create_autocmd({ 'FileType' }, { - pattern = { 'twig' }, - command = 'set filetype=twig.html', - desc = 'set ft as twig', -}) - vim.api.nvim_create_autocmd({ 'FocusGained', 'TermClose', 'TermLeave' }, { command = 'checktime', desc = 'Check if we need to reload the file when it changed',