@ -39,3 +39,8 @@ map('n', '<Space>bb', '<Cmd>BufferOrderByBufferNumber<CR>', opts)
map('n', '<Space>bd', '<Cmd>BufferOrderByDirectory<CR>', opts)
map('n', '<Space>bl', '<Cmd>BufferOrderByLanguage<CR>', opts)
map('n', '<Space>bw', '<Cmd>BufferOrderByWindowNumber<CR>', opts)
require('bufferline').setup {
animation = false,
icon_pinned = '',
}
@ -45,6 +45,16 @@ vim.api.nvim_create_autocmd("FileType", {
end
})
vim.api.nvim_create_autocmd(
{ "BufRead", "BufNewFile" },
{
pattern = { "*.ms", "*.me", "*.mom" },
callback = function(args)
vim.bo.filetype = "groff"
)
vim.api.nvim_create_autocmd("FileType", {
pattern = { "tex", "text" },