mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-05 15:04:37 +02:00
feat(telescope-fzf-native): added support for building with cmake. Fixes #2132
This commit is contained in:
parent
8d31bf230c
commit
1c13a5c10b
1 changed files with 3 additions and 2 deletions
|
@ -124,8 +124,9 @@ return {
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
build = "make",
|
build = vim.fn.executable("make") == 1 and "make"
|
||||||
enabled = vim.fn.executable("make") == 1,
|
or "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
|
||||||
|
enabled = vim.fn.executable("make") == 1 or vim.fn.executable("cmake") == 1,
|
||||||
config = function()
|
config = function()
|
||||||
LazyVim.on_load("telescope.nvim", function()
|
LazyVim.on_load("telescope.nvim", function()
|
||||||
require("telescope").load_extension("fzf")
|
require("telescope").load_extension("fzf")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue