Added nvim init
This commit is contained in:
parent
e96eef01bd
commit
135b00bb08
23
.config/nvim/init.lua
Normal file
23
.config/nvim/init.lua
Normal file
@ -0,0 +1,23 @@
|
||||
-- deactivating netrw as it conflicts with nvim-tree
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
|
||||
vim.fn.system{'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath}
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup {
|
||||
"xiyaowong/transparent.nvim",
|
||||
{"willothy/nvim-cokeline", dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons"
|
||||
}, config = true},
|
||||
{"nvim-tree/nvim-tree.lua", dependencies = {
|
||||
"nvim-tree/nvim-web-devicons"
|
||||
}}
|
||||
}
|
||||
|
||||
require("nvim-tree").setup()
|
Loading…
Reference in New Issue
Block a user