Skip to content

Commit

Permalink
refactor(ft): remove twig filetype autocmd
Browse files Browse the repository at this point in the history
twiggy ls handle both twig and twig.html, so this is now useless
  • Loading branch information
n3wborn committed Aug 6, 2024
1 parent 26d5014 commit b186eb0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lua/custom/autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b186eb0

Please sign in to comment.