mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
fixup: add gitignore and style
This commit is contained in:
parent
ad0fa7daf0
commit
e3b768619c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
tags
|
||||
test.sh
|
||||
.luarc.json
|
||||
nvim
|
||||
|
6
init.lua
6
init.lua
@ -58,8 +58,10 @@ require('packer').startup(function(use)
|
||||
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make', cond = vim.fn.executable 'make' == 1 }
|
||||
|
||||
-- Add custom plugins to packer from /nvim/lua/custom/plugins.lua
|
||||
local has_plugins, plugins = pcall(require, "custom.plugins")
|
||||
if has_plugins then plugins(use) end
|
||||
local has_plugins, plugins = pcall(require, 'custom.plugins')
|
||||
if has_plugins then
|
||||
plugins(use)
|
||||
end
|
||||
|
||||
if is_bootstrap then
|
||||
require('packer').sync()
|
||||
|
Loading…
Reference in New Issue
Block a user