diff --git a/.config/nvim/lua/my/filetypes.lua b/.config/nvim/lua/my/filetypes.lua index 1641892..32eec69 100644 --- a/.config/nvim/lua/my/filetypes.lua +++ b/.config/nvim/lua/my/filetypes.lua @@ -32,3 +32,9 @@ vim.api.nvim_create_autocmd({ 'FileType' }, { pattern = { 'gentoo-package-*' }, command = [[set tabstop=2 shiftwidth=2]] }) + +vim.api.nvim_create_autocmd({ 'BufEnter' }, { + group = 'config_fileformats', + pattern = { '*.m3u8', '*.m3u' }, + command = [[set textwidth=0]] +})