Skip to content

Commit 7c0f7e7

Browse files
committed
removing mini.icons, adding pencil
1 parent 47589b3 commit 7c0f7e7

5 files changed

Lines changed: 30 additions & 8 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ lazy-lock.json
22
.luarc.json
33
PROTECTED
44
.stfolder
5+
.venv
6+
.devcontainer

lua/plugins/mini-icons.lua

Lines changed: 0 additions & 5 deletions
This file was deleted.

lua/plugins/mini-icons.lua.deleted

Lines changed: 0 additions & 2 deletions
This file was deleted.

lua/plugins/pencil.lua

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
return {
2+
"preservim/vim-pencil",
3+
config = function()
4+
vim.g["pencil#autoformat"] = 1
5+
vim.g["pencil#textwidth"] = 80
6+
vim.g["pencil#wrapModeDefault"] = "soft"
7+
vim.fn["pencil#init"]({ wrap = "soft", autoformat = 1 })
8+
vim.api.nvim_create_augroup("Pencil", {})
9+
vim.api.nvim_create_autocmd("FileType", {
10+
pattern = "markdown",
11+
callback = function()
12+
vim.cmd("PencilToggle") -- Initialize Pencil
13+
vim.g.pencil_wrap_mode_default = "soft" -- Set soft wrap mode
14+
end,
15+
group = "Pencil",
16+
})
17+
end,
18+
ft = {
19+
"mkd",
20+
"md",
21+
"markdown",
22+
"tex",
23+
"latex",
24+
"text",
25+
"txt",
26+
},
27+
}

lua/plugins/trouble.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
return {
22
"folke/trouble.nvim",
33
dependencies = {
4-
"echasnovski/mini.icons",
4+
"nvim-tree/nvim-web-devicons",
55
"folke/todo-comments.nvim",
66
},
77
opts = {

0 commit comments

Comments
 (0)