summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2026-02-13 02:16:40 +0000
committerBrahmajit Das <listout@listout.xyz>2026-02-13 02:16:40 +0000
commitf1b3356689003abe9edb5a46d4a091b0a41d7306 (patch)
tree3f94c38ddf7559f088c581b3270f62f99484477e /plugin
parent7e35baacfdeeb7f834fa37841c9d3a2189a976d0 (diff)
downloadnvim-f1b3356689003abe9edb5a46d4a091b0a41d7306.tar.gz
moving vimscript configs to lua config
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Diffstat (limited to '')
-rw-r--r--plugin/filetypes.lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugin/filetypes.lua b/plugin/filetypes.lua
deleted file mode 100644
index 438eeae..0000000
--- a/plugin/filetypes.lua
+++ /dev/null
@@ -1,28 +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
-]]
-
-vim.filetype.add {
- extension = {
- h = "c",
- scheme = "scheme",
- },
-}
-
--- Add in the following like to auto remove empty lines
--- au BufWritePre * %s/\s\+$//e