-- Bootstrap lazy.nvim local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then local lazyrepo = "https://github.com/folke/lazy.nvim.git" local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) if vim.v.shell_error ~= 0 then vim.api.nvim_echo({ { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, { out, "WarningMsg" }, { "\nPress any key to exit..." }, }, true, {}) vim.fn.getchar() os.exit(1) end end vim.opt.rtp:prepend(lazypath) -- Setup lazy.nvim require("lazy").setup({ spec = { -- import your plugins { import = "qvim.plugins" }, }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. install = { colorscheme = { "gruvbox" } }, -- automatically check for plugin updates checker = { enabled = true, notify = false }, }) -- return require("packer").startup(function(use) -- use({ -- "vimwiki/vimwiki", -- config = function() -- vim.g.vimwiki_list = { -- { -- path = "~/documents/wiki", -- syntax = "markdown", -- ext = ".md", -- }, -- } -- vim.g.vimwiki_markdown_link_ext = 1 -- end, -- }) -- use({ "tools-life/taskwiki" }) -- -- use({ -- -- "andrewferrier/wrapping.nvim", -- -- config = function() -- -- require("wrapping").setup({ -- -- softener = { -- -- { markdown = true }, -- -- }, -- -- }) -- -- end, -- -- }) -- -- use({ -- -- "MeanderingProgrammer/markdown.nvim", -- -- as = "render-markdown", -- Only needed if you have another plugin named markdown.nvim -- -- after = { "nvim-treesitter" }, -- -- config = function() -- -- require("render-markdown").setup({}) -- -- end, -- -- }) -- use({ -- "tadmccorkle/markdown.nvim", -- config = function() -- require("markdown").setup({ -- -- configuration here or empty for defaults -- }) -- end, -- }) -- use({ -- "folke/which-key.nvim", -- config = function() -- vim.o.timeout = true -- vim.o.timeoutlen = 300 -- require("which-key").setup({ -- -- your configuration comes here -- -- or leave it empty to use the default settings -- -- refer to the configuration section below -- }) -- end, -- }) -- -- golang -- use 'ray-x/go.nvim' -- use 'ray-x/guihua.lua' -- -- use "tpope/vim-dadbod" -- use "kristijanhusak/vim-dadbod-completion" -- use "kristijanhusak/vim-dadbod-ui" -- end)