Browse Source

removed penlight lua rock

macos
junikimm717 2 years ago
parent
commit
c402bfbfcd
  1. 1
      after/plugin/nvimtree.lua
  2. 4
      after/plugin/telescope.lua
  3. 1
      lua/junikim/packer.lua

1
after/plugin/nvimtree.lua

@ -1,4 +1,3 @@
-- empty setup using defaults -- empty setup using defaults
nvimtree = require("nvim-tree") nvimtree = require("nvim-tree")

4
after/plugin/telescope.lua

@ -1,7 +1,7 @@
local builtin = require("telescope.builtin") local builtin = require("telescope.builtin")
local path = require("plenary.path")
local function git_exists() local function git_exists()
local path = require("pl.path")
local p = "." local p = "."
while true do while true do
local gitpath = p .. "/.git" local gitpath = p .. "/.git"
@ -12,7 +12,7 @@ local function git_exists()
else else
p = p .. "/.." p = p .. "/.."
end end
if path.abspath(p) ~= "/" then
if path:new(p):absolute() == "/" then
return false return false
end end
end end

1
lua/junikim/packer.lua

@ -4,7 +4,6 @@ return require('packer').startup(function(use)
-- Packer can manage itself -- Packer can manage itself
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use 'tpope/vim-sensible' use 'tpope/vim-sensible'
use_rocks 'penlight'
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.1', 'nvim-telescope/telescope.nvim', tag = '0.1.1',
requires = { { 'nvim-lua/plenary.nvim' } } requires = { { 'nvim-lua/plenary.nvim' } }

Loading…
Cancel
Save