nvim config added
This commit is contained in:
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user