mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 19:41:15 +02:00
nvim: make using preview and cleaning trailing spaces less cumbersome
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
vim.api.nvim_create_autocmd({ 'VimEnter' },
|
||||
{
|
||||
callback = function()
|
||||
require("knap").toggle_autopreviewing()
|
||||
end
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ 'BufEnter' },
|
||||
{
|
||||
callback = function()
|
||||
|
Reference in New Issue
Block a user