feat: clearcol
This commit is contained in:
parent
114187164e
commit
13933fc7fd
6 changed files with 40 additions and 1 deletions
11
lua/cp/helpers.lua
Normal file
11
lua/cp/helpers.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
local M = {}
|
||||
|
||||
---@param bufnr integer
|
||||
function M.clearcol(bufnr)
|
||||
vim.bo[bufnr].signcolumn = 'no'
|
||||
vim.bo[bufnr].statuscolumn = ''
|
||||
vim.bo[bufnr].number = false
|
||||
vim.bo[bufnr].relativenumber = false
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue