From 8a2dbdbb904a34ee4138721e7e217aeb9bc4f408 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Tue, 21 Nov 2023 10:34:16 +0100 Subject: [PATCH] add lualine, telescope-fzf-native plugins --- lua/weeheavy/plugins/lualine.lua | 12 ++++++++++++ lua/weeheavy/plugins/telescope-fzf-native.lua | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 lua/weeheavy/plugins/lualine.lua create mode 100644 lua/weeheavy/plugins/telescope-fzf-native.lua diff --git a/lua/weeheavy/plugins/lualine.lua b/lua/weeheavy/plugins/lualine.lua new file mode 100644 index 0000000..a0628ea --- /dev/null +++ b/lua/weeheavy/plugins/lualine.lua @@ -0,0 +1,12 @@ +-- status line like vim-airline +return { + "nvim-lualine/lualine.nvim", + opts = { + options = { + icons_enabled = true, + theme = 'auto', + component_separators = '⋮', + section_separators = { left = '', right = '' }, + }, + }, +} diff --git a/lua/weeheavy/plugins/telescope-fzf-native.lua b/lua/weeheavy/plugins/telescope-fzf-native.lua new file mode 100644 index 0000000..648ac8c --- /dev/null +++ b/lua/weeheavy/plugins/telescope-fzf-native.lua @@ -0,0 +1,14 @@ +--[[ +Fuzzy finder +Docs: https://github.com/nvim-telescope/telescope-fzf-native.nvim + +Performance depends on installation of ripgrep and fd (both available in Homebrew) +If you have huge amounts of files, consider adding some to `$HOME/.ignore`: + dotnet/ + opt/miniconda3/ + Library/ +]]-- +return { +"nvim-telescope/telescope-fzf-native.nvim", + build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' +}