feat: authoring plugins
This commit is contained in:
parent
dfc3c98bf6
commit
3cdca2add9
7 changed files with 102 additions and 0 deletions
13
lua/custom/plugins/notes/vim-textobj-sentence.lua
Normal file
13
lua/custom/plugins/notes/vim-textobj-sentence.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'preservim/vim-textobj-sentence',
|
||||
config = function()
|
||||
vim.cmd [[
|
||||
augroup textobj_sentence
|
||||
autocmd!
|
||||
autocmd FileType markdown call textobj#sentence#init()
|
||||
autocmd FileType textile call textobj#sentence#init()
|
||||
augroup END
|
||||
]]
|
||||
end,
|
||||
ft = { 'markdown', 'mkd', 'textile', 'tex', 'text' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue