summaryrefslogtreecommitdiff
path: root/filetype.lua
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-12-29 13:59:28 +0530
committerBrahmajit Das <brahmajit.xyz@gmail.com>2024-12-29 13:59:28 +0530
commit15b138b013104d3df315c9e84bb6fc1f285347d6 (patch)
tree8bfad693456287fd9c8f06be0d62d23807221f33 /filetype.lua
parent0b5f3fc96eddcd603de17644da8a962e0a93c04a (diff)
restore utils.lua location, needed by filetypes. Moving filetypes to plugin folder
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Diffstat (limited to 'filetype.lua')
-rw-r--r--filetype.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/filetype.lua b/filetype.lua
deleted file mode 100644
index 1725599..0000000
--- a/filetype.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