From 5531edf8e46e4d805acab5075ec5bc628538e150 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Tue, 20 Jul 2021 23:20:00 -0500 Subject: [PATCH] fix: formatted code with luafmt --- init.lua | 4 ++-- lua/utils.lua | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index b8a7a3d..0ff438b 100644 --- a/init.lua +++ b/init.lua @@ -3,8 +3,8 @@ require "options" local chad_modules = { "pluginList", "plugins.bufferline", - "mappings", - "utils", + "mappings", + "utils" } local async diff --git a/lua/utils.lua b/lua/utils.lua index c245340..9765f54 100644 --- a/lua/utils.lua +++ b/lua/utils.lua @@ -1,5 +1,8 @@ -- hide line numbers , statusline in specific buffers! -vim.api.nvim_exec([[ +vim.api.nvim_exec( + [[ au TermOpen term://* setlocal nonumber laststatus=0 au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif -]], false) +]], + false +)