From 96263c130aa903a78ed37d1447617e8348bcda44 Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 1 Nov 2024 14:01:32 -0700 Subject: [PATCH] altercations for mac --- init.lua | 5 ++++- lua/custom/plugins/init.lua | 34 ++++++++++++++++++++++++---------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/init.lua b/init.lua index b4530d4..cd50fd6 100644 --- a/init.lua +++ b/init.lua @@ -296,6 +296,9 @@ require('lazy').setup({ { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' + dependencies = { + { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font }, + }, config = function() -- This is the function that runs, AFTER loading require('which-key').setup() @@ -574,7 +577,7 @@ require('lazy').setup({ '/home/talksik-desktop/Qt/Tools/QtCreator/libexec/qtcreator/clang/bin/clangd', '--offset-encoding=utf-16', -- Need below if you want to use an embedded sysroot for library & header files - '--query-driver=/home/talksik-desktop/Qt/6.6.2/Boot2Qt/raspberrypi4-64/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-*', + -- '--query-driver=/home/talksik-desktop/Qt/6.6.2/Boot2Qt/raspberrypi4-64/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-*', }, filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'hpp', 'h', 'cc' }, }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 2bec093..a9c543b 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -98,16 +98,30 @@ return { end, }, - -- add in shortcuts for next and previous buffer + -- -- add in shortcuts for next and previous buffer + -- { + -- 'romgrk/barbar.nvim', + -- config = function() + -- vim.keymap.set('n', '9', function() + -- vim.cmd 'BufferPrevious' + -- end, {}) + -- vim.keymap.set('n', '0', function() + -- vim.cmd 'BufferNext' + -- end, {}) + -- end, + -- }, + { - 'romgrk/barbar.nvim', - config = function() - vim.keymap.set('n', '9', function() - vim.cmd 'BufferPrevious' - end, {}) - vim.keymap.set('n', '0', function() - vim.cmd 'BufferNext' - end, {}) - end, + "davidmh/mdx.nvim", + config = true, + dependencies = { "nvim-treesitter/nvim-treesitter" } }, + + { + 'akinsho/flutter-tools.nvim', + requires = { + 'nvim-lua/plenary.nvim', + 'stevearc/dressing.nvim', -- optional for vim.ui.select + }, + } }