Compare commits
No commits in common. "561cdf5d2db42d308bce95342dee82746d7b1398" and "ad4c99c1f8b1f07dae7c2806c0b7950ace059d54" have entirely different histories.
561cdf5d2d
...
ad4c99c1f8
|
@ -26,13 +26,11 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, {
|
||||||
-- @param
|
-- @param
|
||||||
-- @short The format function for pascal.
|
-- @short The format function for pascal.
|
||||||
local function auto_format()
|
local function auto_format()
|
||||||
vim.cmd("checktime %")
|
|
||||||
local write_cmd = "ptop -c ~/.config/nvim/ptop.conf "
|
local write_cmd = "ptop -c ~/.config/nvim/ptop.conf "
|
||||||
.. vim.api.nvim_buf_get_name(0)
|
.. vim.api.nvim_buf_get_name(0)
|
||||||
.. " "
|
.. " "
|
||||||
.. vim.api.nvim_buf_get_name(0)
|
.. vim.api.nvim_buf_get_name(0)
|
||||||
os.execute(write_cmd)
|
os.execute(write_cmd)
|
||||||
vim.cmd("checktime %")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Add formatter command
|
-- Add formatter command
|
||||||
|
|
Loading…
Reference in New Issue