nvim config added

This commit is contained in:
2023-02-07 02:00:28 +01:00
parent 910ba5b3c5
commit a3a96c3fc6
11 changed files with 316 additions and 20 deletions

View File

@@ -1,21 +1,20 @@
local set = vim.opt
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)
set.encoding = "utf-8"
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
set.number = true
set.relativenumber = true
set.tabstop = 4
set.shiftwidth = 4
set.expandtab = true
set.swapfile = false
set.ignorecase = true
set.smartcase = true
set.cursorline = true
set.linebreak = true
set.list = true
require('lazy').setup('plugins')
require('config')
require('completion')