mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
nvim: many changes
This commit is contained in:
parent
f571b53d32
commit
7f9cb6e767
7 changed files with 63 additions and 10 deletions
|
|
@ -163,6 +163,31 @@ return require('packer').startup(function(use)
|
|||
|
||||
-- use "folke/which-key.nvim"
|
||||
|
||||
use({
|
||||
"andrewferrier/wrapping.nvim",
|
||||
config = function()
|
||||
require("wrapping").setup()
|
||||
end,
|
||||
})
|
||||
|
||||
use({
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function() vim.fn["mkdp#util#install"]() end,
|
||||
})
|
||||
|
||||
|
||||
use {
|
||||
'preservim/vim-pencil',
|
||||
config = function()
|
||||
vim.cmd([[
|
||||
augroup PencilSetup
|
||||
autocmd!
|
||||
autocmd FileType markdown,text,tex,gitcommit setlocal formatoptions+=t
|
||||
autocmd FileType markdown,text,tex,gitcommit PencilHard
|
||||
augroup END augroup END
|
||||
]])
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue