I got a PERFECT CODE EDITOR for C++ (using Termux & Neovim) on Android, That's what I shared in this video.
// Code to pasted in plugins.lua for Autoformat
_________________________________
{
"nvimdev/guard.nvim",
event = "BufReadPre",
config = function()
local ft = require("guard.filetype")
ft("c,cpp,json"):fmt("clang-format")
require("guard").setup({
-- the only options for the setup function
fmt_on_save = true,
-- Use lsp if no formatter was defined for this filetype
lsp_as_default_formatter = false,
})
end,
},
___________________________________
Keyboard used in video - https://amzn.to/3qZPTBI
// Follow Us Everywhere
--------------------------------------------------
Blog - https://technical-bot.blogspot.com/
Instagram - / tecnicalbot
Twitter - / tecnicalbot
Telegram - https://t.me/TecnicalBot
Github - https://github.com/tecnicalbot
--------------------------------------------------
//Product Links given above may be affiliate means indirectly supporting to us without any extra cost to you.