nvim: plugins: For handling files with ANSI escape sequences better
This commit is contained in:
parent
d3b8cec40a
commit
a493297cae
2 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue