initial commit
This commit is contained in:
37
init.lua
Normal file
37
init.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
----------------------------------------
|
||||
-- --
|
||||
-- init.lua -- --
|
||||
----------------------------------------
|
||||
|
||||
--
|
||||
-- Packer, a use-package like package manager
|
||||
--
|
||||
|
||||
-- Bootstrap
|
||||
local fn = vim.fn
|
||||
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
||||
if fn.empty(fn.glob(install_path)) > 0 then
|
||||
Packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||
end
|
||||
|
||||
packer = require 'packer'
|
||||
packer.reset()
|
||||
packer.init()
|
||||
local pk_use = packer.use
|
||||
|
||||
pk_use 'wbthomason/packer.nvim'
|
||||
|
||||
if Packer_bootstrap then
|
||||
packer.sync()
|
||||
end
|
||||
|
||||
--
|
||||
-- Load other files
|
||||
--
|
||||
require 'ide' -- Tree Sitter Settings
|
||||
require 'ui' -- User Interface
|
||||
require 'defs' -- Default files/folders
|
||||
require 'binds' -- Keybindings and commands
|
||||
require 'misc'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user