New nvim config, not finished
This commit is contained in:
parent
58a0da692e
commit
671fbe40e1
15 changed files with 398 additions and 49 deletions
28
.config/nvim/init.lua
Normal file
28
.config/nvim/init.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
|
||||
local install_path = vim.fn.stdpath("data").."/site/pack/packer/start/packer.nvim"
|
||||
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||
print("Downloading Packer ...")
|
||||
vim.fn.system({"git", "clone", "https://github.com/wbthomason/packer.nvim", install_path})
|
||||
vim.api.nvim_command("packadd packer.nvim")
|
||||
require("plugins.packer")
|
||||
require("packer").sync()
|
||||
end
|
||||
|
||||
require('impatient')
|
||||
require('plugins.theme')
|
||||
|
||||
Config = {
|
||||
theme="onedark",
|
||||
statusline = {
|
||||
minimal = false
|
||||
}
|
||||
}
|
||||
|
||||
-- Theme
|
||||
|
||||
vim.wo.number=true
|
||||
vim.wo.relativenumber= true
|
||||
vim.g.luasnippets_path = "~/.config/nvim/lua/plugins/configs/luasnippets"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue