Use a different saner syntax for pcall
takes less lines, looks much better
remove neoscroll.lua, missed in 2952f4d5c7
This commit is contained in:
parent
1d7602e3e4
commit
9c1a3ad2a2
17 changed files with 56 additions and 158 deletions
|
|
@ -1,11 +1,5 @@
|
|||
local telescope
|
||||
if
|
||||
not pcall(
|
||||
function()
|
||||
telescope = require("telescope")
|
||||
end
|
||||
)
|
||||
then
|
||||
local present, telescope = pcall(require, "telescope")
|
||||
if not present then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue