Skip to content

Commit 5074f50

Browse files
committed
added treesitter and toggleterm
1 parent 482a311 commit 5074f50

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

init.lua

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ vim.opt.cursorline = true
158158
vim.opt.scrolloff = 10
159159
vim.opt.smarttab = true
160160
vim.opt.shiftwidth = 4
161+
vim.opt.wildmenu = true
162+
vim.opt.hidden = true
161163

162164
-- [[ Basic Keymaps ]]
163165
-- See `:help vim.keymap.set()`
@@ -243,6 +245,21 @@ require('lazy').setup({
243245
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
244246
},
245247
},
248+
{
249+
'akinsho/toggleterm.nvim',
250+
version = '*',
251+
opts = {--[[ things you want to change go here]]
252+
},
253+
config = function()
254+
require('toggleterm').setup {
255+
direction = 'float',
256+
open_mapping = [[<c-\>]],
257+
insert_mappings = true,
258+
terminal_mappings = true,
259+
}
260+
end,
261+
},
262+
{ 'akinsho/bufferline.nvim', version = '*', dependencies = 'nvim-tree/nvim-web-devicons' },
246263
{
247264
'nvim-treesitter/nvim-treesitter',
248265
build = ':TSUpdate',
@@ -257,7 +274,15 @@ require('lazy').setup({
257274
}
258275
end,
259276
},
260-
{ 'akinsho/bufferline.nvim', version = '*', dependencies = 'nvim-tree/nvim-web-devicons' },
277+
{
278+
'akinsho/bufferline.nvim',
279+
version = '*',
280+
dependencies = 'nvim-tree/nvim-web-devicons',
281+
config = function()
282+
vim.opt.termguicolors = true
283+
require('bufferline').setup {}
284+
end,
285+
},
261286
-- NOTE: Plugins can also be added by using a table,
262287
-- with the first argument being the link and the following
263288
-- keys can be used to configure plugin behavior/loading/etc.
@@ -360,7 +385,6 @@ require('lazy').setup({
360385
-- you do for a plugin at the top level, you can do for a dependency.
361386
--
362387
-- Use the `dependencies` key to specify the dependencies of a particular plugin
363-
364388
{ -- Fuzzy Finder (files, lsp, etc)
365389
'nvim-telescope/telescope.nvim',
366390
event = 'VimEnter',

0 commit comments

Comments
 (0)