nvim: added smooth scrolling and fixed toggleterm

This commit is contained in:
PowerUser64 2021-09-20 02:48:09 -07:00
parent 2dcac10784
commit c1b71e559f
4 changed files with 37 additions and 26 deletions

View file

@ -73,10 +73,7 @@ return require('packer').startup(function()
require('lsp').cmp()
end,
requires = { -- nvim-cmp sources
-- snippet integration
-- "hrsh7th/cmp-vsnip",
"saadparwaiz1/cmp_luasnip",
"saadparwaiz1/cmp_luasnip", --luasnip integration
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
@ -138,14 +135,9 @@ return require('packer').startup(function()
}
use { -- Smooth Scrolling
"karb94/neoscroll.nvim",
-- disable = not plugin_status.neoscroll,
-- opt = true,
-- config = function()
-- require("plugins.configs.others").neoscroll()
-- end,
-- setup = function()
-- require("core.utils").packer_lazy_load "neoscroll.nvim"
-- end,
config = function()
require('other').neoscroll()
end,
}
use { -- automatic session management
'rmagatti/auto-session',
@ -153,7 +145,7 @@ return require('packer').startup(function()
require('other').autosession()
end
}
use {
use { -- markdown preview
'ellisonleao/glow.nvim',
ft = { 'md', 'markdown', }
}