nvim: hide numbers in terminals
This commit is contained in:
parent
f4a3b20f91
commit
40d3235275
2 changed files with 10 additions and 0 deletions
|
@ -31,6 +31,12 @@ local function set_autocmd()
|
|||
set_cursorline("WinLeave", false)
|
||||
set_cursorline("WinEnter", true)
|
||||
set_cursorline("FileType", false, "TelescopePrompt")
|
||||
|
||||
vim.api.nvim_create_autocmd("TermOpen", {
|
||||
callback = function()
|
||||
vim.cmd.set "filetype=term"
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
local function set_filetypes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue