From d74ad4f5a24525c136a776fabb41bf6b374092e7 Mon Sep 17 00:00:00 2001 From: Raoul Branten Date: Fri, 10 May 2024 08:34:17 +0000 Subject: [PATCH] Update config --- lua/core/plugin_config/indent-blankline.lua | 1 + lua/core/plugin_config/init.lua | 1 + lua/core/plugin_config/telescope.lua | 1 + lua/core/plugins.lua | 3 +- plugin/packer_compiled.lua | 47 ++++++++++++--------- 5 files changed, 31 insertions(+), 22 deletions(-) create mode 100644 lua/core/plugin_config/indent-blankline.lua diff --git a/lua/core/plugin_config/indent-blankline.lua b/lua/core/plugin_config/indent-blankline.lua new file mode 100644 index 0000000..be401dd --- /dev/null +++ b/lua/core/plugin_config/indent-blankline.lua @@ -0,0 +1 @@ +require("ibl").setup() diff --git a/lua/core/plugin_config/init.lua b/lua/core/plugin_config/init.lua index 0a87ba6..e0f68f9 100644 --- a/lua/core/plugin_config/init.lua +++ b/lua/core/plugin_config/init.lua @@ -12,4 +12,5 @@ require("core.plugin_config.synattr") require("core.plugin_config.rainbow-delimiters") require("core.plugin_config.marks") require("core.plugin_config.lsp_config") +require("core.plugin_config.indent-blankline") diff --git a/lua/core/plugin_config/telescope.lua b/lua/core/plugin_config/telescope.lua index 1943769..6a65ec1 100644 --- a/lua/core/plugin_config/telescope.lua +++ b/lua/core/plugin_config/telescope.lua @@ -1,5 +1,6 @@ local builtin = require('telescope.builtin') +-- The leader key is space vim.keymap.set('n', 'ff', builtin.find_files, {}) vim.keymap.set('n', 'fg', builtin.live_grep, {}) vim.keymap.set('n', 'fb', builtin.buffers, {}) diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index d1e7827..1db9f98 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -25,7 +25,7 @@ return require('packer').startup(function(use) } use { 'nvim-telescope/telescope.nvim', - tag = '0.1.3', + tag = '0.1.6', requires = { {'nvim-lua/plenary.nvim'} } } use 'tpope/vim-fugitive' @@ -42,6 +42,7 @@ return require('packer').startup(function(use) --use 'romgrk/barbar.nvim' use 'HiPhish/rainbow-delimiters.nvim' use 'chentoast/marks.nvim' + use "lukas-reineke/indent-blankline.nvim" -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index f514788..1e0d197 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/raoul/.cache/nvim/packer_hererocks/2.1.1692716794/share/lua/5.1/?.lua;/home/raoul/.cache/nvim/packer_hererocks/2.1.1692716794/share/lua/5.1/?/init.lua;/home/raoul/.cache/nvim/packer_hererocks/2.1.1692716794/lib/luarocks/rocks-5.1/?.lua;/home/raoul/.cache/nvim/packer_hererocks/2.1.1692716794/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/raoul/.cache/nvim/packer_hererocks/2.1.1692716794/lib/lua/5.1/?.so" +local package_path_str = "/home/produktr/.cache/nvim/packer_hererocks/2.1.1692716794/share/lua/5.1/?.lua;/home/produktr/.cache/nvim/packer_hererocks/2.1.1692716794/share/lua/5.1/?/init.lua;/home/produktr/.cache/nvim/packer_hererocks/2.1.1692716794/lib/luarocks/rocks-5.1/?.lua;/home/produktr/.cache/nvim/packer_hererocks/2.1.1692716794/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/produktr/.cache/nvim/packer_hererocks/2.1.1692716794/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -76,97 +76,102 @@ time([[Defining packer_plugins]], true) _G.packer_plugins = { ["SyntaxAttr.vim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/SyntaxAttr.vim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/SyntaxAttr.vim", url = "https://github.com/vim-scripts/SyntaxAttr.vim" }, ["deadcolumn.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/deadcolumn.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/deadcolumn.nvim", url = "https://github.com/Bekaboo/deadcolumn.nvim" }, gruvbox = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/gruvbox", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/gruvbox", url = "https://github.com/morhetz/gruvbox" }, + ["indent-blankline.nvim"] = { + loaded = true, + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim", + url = "https://github.com/lukas-reineke/indent-blankline.nvim" + }, ["lualine.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/lualine.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" }, ["marks.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/marks.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/marks.nvim", url = "https://github.com/chentoast/marks.nvim" }, ["mason-lspconfig.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/mason-lspconfig.nvim", url = "https://github.com/williamboman/mason-lspconfig.nvim" }, ["mason.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/mason.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/mason.nvim", url = "https://github.com/williamboman/mason.nvim" }, ["nvim-colorizer.lua"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua", url = "https://github.com/norcalli/nvim-colorizer.lua" }, ["nvim-lspconfig"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-tree.lua"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/nvim-tree.lua", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/nvim-tree.lua", url = "https://github.com/nvim-tree/nvim-tree.lua" }, ["nvim-treesitter"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-web-devicons"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", url = "https://github.com/nvim-tree/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/packer.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, ["plenary.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/plenary.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["rainbow-delimiters.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/rainbow-delimiters.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/rainbow-delimiters.nvim", url = "https://github.com/HiPhish/rainbow-delimiters.nvim" }, tagbar = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/tagbar", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/tagbar", url = "https://github.com/majutsushi/tagbar" }, ["telescope.nvim"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/telescope.nvim", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["vim-fugitive"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/vim-fugitive", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/vim-fugitive", url = "https://github.com/tpope/vim-fugitive" }, ["vim-gitgutter"] = { loaded = true, - path = "/home/raoul/.local/share/nvim/site/pack/packer/start/vim-gitgutter", + path = "/home/produktr/.local/share/nvim/site/pack/packer/start/vim-gitgutter", url = "https://github.com/airblade/vim-gitgutter" } }