diff options
Diffstat (limited to '.config/nvim/init.lua.save')
| -rw-r--r-- | .config/nvim/init.lua.save | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/nvim/init.lua.save b/.config/nvim/init.lua.save new file mode 100644 index 0000000..8abcdc8 --- /dev/null +++ b/.config/nvim/init.lua.save @@ -0,0 +1,31 @@ +-- Basic +vim.g.mapleader = " " +vim.opt.wrap = true +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.laststatus = 2 +vim.opt.hlsearch = true +vim.opt.incsearch = true +vim.opt.syntax = ON +vim.cmd("filetype plugin on") + +-- Temp +vim.opt.mouse = "" + +-- Install Lazy.vim +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +local opts = {} + +require("lazy").setup("plugins") |
