From 5074f507c13ef0a67f495e5f70dad9ec23dde0d5 Mon Sep 17 00:00:00 2001 From: naynayll2 Date: Mon, 20 Jan 2025 19:29:32 -0600 Subject: [PATCH] added treesitter and toggleterm --- init.lua | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 5c5f2d7d..6d0e56e5 100644 --- a/init.lua +++ b/init.lua @@ -158,6 +158,8 @@ vim.opt.cursorline = true vim.opt.scrolloff = 10 vim.opt.smarttab = true vim.opt.shiftwidth = 4 +vim.opt.wildmenu = true +vim.opt.hidden = true -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` @@ -243,6 +245,21 @@ require('lazy').setup({ -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, }, + { + 'akinsho/toggleterm.nvim', + version = '*', + opts = {--[[ things you want to change go here]] + }, + config = function() + require('toggleterm').setup { + direction = 'float', + open_mapping = [[]], + insert_mappings = true, + terminal_mappings = true, + } + end, + }, + { 'akinsho/bufferline.nvim', version = '*', dependencies = 'nvim-tree/nvim-web-devicons' }, { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', @@ -257,7 +274,15 @@ require('lazy').setup({ } end, }, - { 'akinsho/bufferline.nvim', version = '*', dependencies = 'nvim-tree/nvim-web-devicons' }, + { + 'akinsho/bufferline.nvim', + version = '*', + dependencies = 'nvim-tree/nvim-web-devicons', + config = function() + vim.opt.termguicolors = true + require('bufferline').setup {} + end, + }, -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following -- keys can be used to configure plugin behavior/loading/etc. @@ -360,7 +385,6 @@ require('lazy').setup({ -- you do for a plugin at the top level, you can do for a dependency. -- -- Use the `dependencies` key to specify the dependencies of a particular plugin - { -- Fuzzy Finder (files, lsp, etc) 'nvim-telescope/telescope.nvim', event = 'VimEnter',