From 72e7832dce4cb679bce47f01130b3790e88ed3bf Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 1 Mar 2023 14:40:36 +0100 Subject: [PATCH] nvim: Remove navigator.lua --- nvim/.config/nvim/lua/plugins.lua | 48 +++++++++++++++++-------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 598dca9..aa4d323 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -11,9 +11,7 @@ return { { 'vifm/vifm.vim' }, -- integrate file manager { 'lewis6991/gitsigns.nvim', -- show vcs changes on left-hand gutter - opts = { - numhl = true, signcolumn = false - }, + opts = { numhl = true, signcolumn = false }, event = "BufRead" }, { 'norcalli/nvim-colorizer.lua', -- color hex, named colors in the correct preview scheme @@ -88,7 +86,7 @@ return { } } end, - ft = writing_ft + ft = "quarto" }, { 'micarmst/vim-spellsync', event = "VeryLazy" }, -- personal dict improvements for git sync { 'folke/zen-mode.nvim', config = true, event = "VeryLazy" }, -- provide distraction free writing { 'folke/twilight.nvim', event = "VeryLazy" }, -- provide even distraction free-er writing (lowlight paragraphs) @@ -116,8 +114,7 @@ return { config = function() require('plug._mini') end }, { "akinsho/nvim-toggleterm.lua", -- simpler, programmable and multiple terminal toggling for nvim - config = function() require('plug._toggleterm') end, - event = "BufWinEnter" + config = function() require('plug._toggleterm') end }, { "folke/which-key.nvim", @@ -127,6 +124,14 @@ return { "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim" }, config = function() require('plug._telescope') end +}, { + "dense-analysis/neural", + dependencies = { "MunifTanjim/nui.nvim", "elpiloto/significant.nvim" }, + config = function() + require('neural').setup({ + source = { openai = { api_key = vim.env.OPENAI_API_KEY } } + }) + end }, -- treesitter { 'nvim-treesitter/nvim-treesitter', @@ -159,24 +164,23 @@ return { "VonHeikemen/lsp-zero.nvim", dependencies = { "neovim/nvim-lspconfig", "williamboman/mason.nvim", - "williamboman/mason-lspconfig.nvim", "hrsh7th/nvim-cmp", - "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", - "saadparwaiz1/cmp_luasnip", "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-nvim-lua", "L3MON4D3/LuaSnip", - "rafamadriz/friendly-snippets", "andersevenrud/cmp-tmux", - "hrsh7th/cmp-nvim-lsp", "kdheepak/cmp-latex-symbols", - "ray-x/cmp-treesitter", "f3fora/cmp-spell", "hrsh7th/cmp-cmdline", - "cbarrete/completion-vcard", "jc-doyle/cmp-pandoc-references", + "williamboman/mason-lspconfig.nvim", { + "hrsh7th/nvim-cmp", + dependencies = { + "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", + "saadparwaiz1/cmp_luasnip", "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-nvim-lua", "andersevenrud/cmp-tmux", + "hrsh7th/cmp-nvim-lsp", "kdheepak/cmp-latex-symbols", + "ray-x/cmp-treesitter", "f3fora/cmp-spell", + "hrsh7th/cmp-cmdline", "cbarrete/completion-vcard", + "jc-doyle/cmp-pandoc-references" + } + }, "L3MON4D3/LuaSnip", "rafamadriz/friendly-snippets", { "lukas-reineke/lsp-format.nvim", config = true } }, - config = function() require('plug._cmp') end - }, { 'simrat39/symbols-outline.nvim', config = true, event = "VeryLazy" }, -- vista-like outline view for code - { 'ray-x/lsp_signature.nvim', event = "VeryLazy" }, - { 'ray-x/guihua.lua', build = 'cd lua/fzy && make', event = "VeryLazy" }, { - 'ray-x/navigator.lua', - config = function() require('plug._lsp') end, - event = "VeryLazy" -} -- and completion + config = function() require('plug._lsp') end + }, { 'simrat39/symbols-outline.nvim', config = true, event = "VeryLazy" }, -- vista-like outline view for code + { 'ray-x/lsp_signature.nvim', config = true } -- { -- REQUIRES custom `yay -S --asdeps lua51-lyaml invocation` AND is suuper slow -- "jghauser/papis.nvim", -- after = { "telescope.nvim", "nvim-cmp" },