vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.expandtab = true
vim.opt.showmatch = true
vim.opt.ignorecase = true
vim.opt.mouse = v
vim.opt.hlsearch = true
vim.opt.autoindent = true
vim.opt.number = false
vim.opt.wildmode = 'longest:list'
vim.opt.colorcolumn = '133'
vim.opt.cursorline = true

-- if vim.fn.has('nvim-0.7') == 1 then
--     print('we got neovim 0.7')
-- end

-- Use a protected call so we don't error out on first use
local status_ok, packer = pcall(require, "packer")
if not status_ok then
    return
end

-- Install your plugins here
return packer.startup(function(use)
    -- My plugins here
    use 'wbthomason/packer.nvim' -- Have packer manage itself
    use "nvim-lua/popup.nvim" -- An implementation of the Popup API from vim in Neovim
    use "nvim-lua/plenary.nvim" -- Useful lua functions used by lots of plugins
    use "williamboman/mason.nvim" -- Another package manager that aims to get LSP, DAP, etcetera automatically

    -- Automatically set up your configuration after cloning packer.nvim
    -- Put this at the end after all plugins
    if PACKER_BOOTSTRAP then
        require('packer').sync()
    end
end)