diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-12-28 18:34:56 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-12-28 18:34:56 +0530 |
commit | 2e775e9208ff1bb189c91d29621543312943c956 (patch) | |
tree | 5169bcf700bb1631bed07870fde17517891548a5 /lua/ftsettings.lua | |
parent | 717422a501a4a629450ff35dd4f13041b9ff1797 (diff) |
removing unnecessary files
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Diffstat (limited to 'lua/ftsettings.lua')
-rw-r--r-- | lua/ftsettings.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lua/ftsettings.lua b/lua/ftsettings.lua deleted file mode 100644 index 1725599..0000000 --- a/lua/ftsettings.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- Mainly filetype settings --- - -local cmd = vim.cmd -local u = require('utils') - -u.create_augroup({ - { 'BufRead,BufNewFile', '/tmp/nail-*', 'setlocal', 'ft=mail' }, - { 'BufRead,BufNewFile', '*s-nail-*', 'setlocal', 'ft=mail' }, - { 'BufRead,BufNewFile', '*mutt-*', 'setlocal', 'ft=mail' }, - { 'BufRead', '/tmp/*mutt-*', 'setlocal', 'tw=72' }, -}, 'ftmail') - --- Autoremove unwanted whitespaces -cmd [[ - au BufRead,BufNewFile *mutt-* setfiletype mail -]] - --- Add in the following like to auto remove empty lines --- au BufWritePre * %s/\s\+$//e |