Toggleterm plugin added.

This commit is contained in:
IbrahimSabriOrene 2023-11-25 11:06:58 +03:00
parent a3f3e08f34
commit c35feed1df
1 changed files with 4 additions and 3 deletions

View File

@ -42,7 +42,6 @@ P.S. You can delete this when you're done too. It's your config now :)
-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Install package manager
-- https://github.com/folke/lazy.nvim
-- `:help lazy.nvim.txt` for more info
@ -70,6 +69,8 @@ require('lazy').setup({
-- Git related plugins
'tpope/vim-fugitive',
'tpope/vim-rhubarb',
-- specific plugins that i installed
{'akinsho/toggleterm.nvim', version = "*", config = true},
-- Detect tabstop and shiftwidth automatically
'tpope/vim-sleuth',
@ -227,7 +228,7 @@ require('lazy').setup({
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
--
-- For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
}, {})
-- [[ Setting options ]]
@ -333,7 +334,7 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
vim.defer_fn(function()
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash'},
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,