From 6f6150b45e7916c8e0e75403fe15a3f3cbd77309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20P?= Date: Tue, 6 Aug 2024 05:54:19 +0200 Subject: [PATCH] refactor(ft): remove twig filetype autocmd (#394) 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',