feat(plugin): enable markdownlint integration and activate UI components

Add missing markdownlint condition, streamline completion sources, and turn on previously disabled UI features.

New Features:
- Enable explorer, scroll, select, terminal, toggle, words, and zen UI components
- Add TypeScript tool filetype support for JavaScript/JSX/TSX
- Provide dynamic source selection for completion based on command context

Enhancements:
- Simplify markdownlint formatter configuration
- Drop unused markdown-toc from markdown formatters
- Refine default completion sources per command type

Bug Fixes:
- Remove redundant markdownlint condition check
- Clean up formatter list by dropping markdown-toc- Add proper descriptions to WhichKey mappings
This commit is contained in:
sankalp committed 2026-05-08 21:40:40 +05:45
1 parent 1d130a655f
commit 1b5153df2d
5 files changed
+26 -28

No files matched your search

+7 -6
View File
@@ -105,7 +105,7 @@ Snacks.setup({
siblings = true,
},
},
explorer = { enabled = false },
explorer = { enabled = true },
projects = {
enabled = true,
dirs = {
@@ -328,9 +328,10 @@ Snacks.setup({
},
},
},
scroll = { enabled = false },
scroll = { enabled = true },
select = { enabled = true },
statuscolumn = {
enabled = false, -- Change this to false
enabled = true, -- Change this to false
left = { "mark", "sign" },
right = { "fold", "git" },
folds = {
@@ -342,10 +343,10 @@ Snacks.setup({
},
refresh = 50,
},
terminal = { enabled = false },
toggle = { enabled = false },
terminal = { enabled = true },
toggle = { enabled = true },
win = { enabled = true },
words = { enabled = false },
words = { enabled = true },
zen = {
enabled = true,
toggles = {