clean stuff | map new tab

This commit is contained in:
siduck76
2021-07-21 11:26:25 +05:30
parent f72c36f4ab
commit 08dfe17678
2 changed files with 2 additions and 11 deletions

View File

@@ -59,16 +59,6 @@ g.loaded_spec = 0
local M = {}
function M.is_buffer_empty()
-- Check whether the current buffer is empty
return vim.fn.empty(vim.fn.expand("%:t")) == 1
end
function M.has_width_gt(cols)
-- Check if the windows width is greater than a given number of columns
return vim.fn.winwidth(0) / 2 > cols
end
-- file extension specific tabbing
-- vim.cmd([[autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4]])