refractor(nvim): Put lang specific config to plugins/mod/lang

* Local leader to <C-k>
* Add org mappings to match emacs behaviour
* Put lang specific config to plugins/mod/lang, currently markdown and
org
This commit is contained in:
js0ny 2025-03-25 01:21:43 +00:00
parent ccaf0ce33e
commit 797ddef79b
11 changed files with 107 additions and 59 deletions

View file

@ -0,0 +1,29 @@
-- This won't be loaded
-- I keep this since render-markdown sometimes buggy
return {
{
"OXY2DEV/markview.nvim",
lazy = false,
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
opts = {
checkboxes = require("markview-presets").checkboxes.nerd,
headings = {
enable = true,
shift_width = 1,
heading_1 = {
style = "label",
hl = "MarkviewH1",
},
},
code_blocks = {
style = "language",
language_direction = "right",
hl = "MarkviewCode",
info_hl = "MarkviewCodeInfo",
},
},
},
}