mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:07:34 +00:00
Fix markdown textobj dependency
Move it to be lazy on Pencil
This commit is contained in:
parent
a321e21db9
commit
33fc019e7a
@ -6,5 +6,3 @@ let g:vim_markdown_new_list_item_indent = 0
|
|||||||
|
|
||||||
" Format frontmatter as YAML
|
" Format frontmatter as YAML
|
||||||
let g:vim_markdown_frontmatter = 1
|
let g:vim_markdown_frontmatter = 1
|
||||||
|
|
||||||
call textobj#sentence#init()
|
|
||||||
|
@ -339,6 +339,17 @@ return {
|
|||||||
-- abolish/pencil
|
-- abolish/pencil
|
||||||
{
|
{
|
||||||
"https://github.com/preservim/vim-pencil",
|
"https://github.com/preservim/vim-pencil",
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"https://github.com/preservim/vim-textobj-sentence",
|
||||||
|
dependencies = {
|
||||||
|
{ "https://github.com/kana/vim-textobj-user" },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
vim.fn["textobj#sentence#init"]()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
cmd = { "Pencil" },
|
cmd = { "Pencil" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user