Skip to content

Commit a7bf802

Browse files
author
Ali Shahid
committed
[penvim] some changes
1 parent dac29c9 commit a7bf802

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lua/plugins/penvim.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
-- ━━━━━━━━━━━━━━━━━━━❰ configs ❱━━━━━━━━━━━━━━━━━━━ --
1515
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ --
1616

17-
require("penvim").setup({
17+
local imported_penvim, penvim = pcall(require, "penvim")
18+
if not imported_penvim then return end
19+
20+
penvim.setup({
1821

1922
project_env = {
2023
enable = true,
@@ -29,7 +32,8 @@ require("penvim").setup({
2932

3033
indentor = {
3134
enable = true,
32-
length = 4,
35+
indent_length = 4,
36+
indent_type = "auto", -- auto|tab|space
3337
},
3438

3539
-- langs = {

0 commit comments

Comments
 (0)