nvim: plugins: For handling files with ANSI escape sequences better

This commit is contained in:
Sanchayan Maity 2021-07-09 20:41:01 +05:30
parent d3b8cec40a
commit a493297cae
2 changed files with 5 additions and 0 deletions

View file

@ -28,6 +28,9 @@ local autocmds = {
lua_highlight = { lua_highlight = {
{ "TextYankPost", "*", "silent! lua vim.highlight.on_yank(timeout=2000)" }; { "TextYankPost", "*", "silent! lua vim.highlight.on_yank(timeout=2000)" };
}; };
ansi_esc_log = {
{ "BufEnter", "*.log", ":AnsiEsc" };
};
} }
nvim_create_augroups(autocmds) nvim_create_augroups(autocmds)

View file

@ -117,6 +117,8 @@ local init = function ()
} }
-- GDB support -- GDB support
use 'sakhnik/nvim-gdb' use 'sakhnik/nvim-gdb'
-- For files with ANSI escape sequences
use 'powerman/vim-plugin-AnsiEsc'
end end
return require('packer').startup(init) return require('packer').startup(init)