Skip to content

Commit 422ee44

Browse files
author
EanHD
committed
Fix Windows telescope-fzf-native build issue and add comprehensive Windows setup guide
- Fix: Use CMake build command instead of 'make' for cross-platform compatibility - Add: Comprehensive WINDOWS_SETUP.md guide with Chocolatey installation - Update: All docs now prominently reference Windows setup guide - Update: install.ps1 checks for CMake/MinGW and guides users - Improve: Clear instructions for beginners on Windows prerequisites
1 parent b14bd49 commit 422ee44

File tree

7 files changed

+410
-7
lines changed

7 files changed

+410
-7
lines changed

MODE_VIM/COMPLETE_SETUP.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Everything happens within Neovim. No context-switching to external editors or ma
1414

1515
## Installation
1616

17+
> **🪟 Windows Users:** See **[WINDOWS_SETUP.md](WINDOWS_SETUP.md)** for complete Windows installation guide including Chocolatey, CMake, and MinGW setup.
18+
1719
### Step 1: Ensure Neovim is Installed
1820

1921
```bash
@@ -29,11 +31,13 @@ sudo apt install neovim
2931
# macOS
3032
brew install neovim
3133

32-
# Other systems
33-
visit: https://neovim.io/
34+
# Windows (PowerShell as Admin)
35+
choco install neovim
36+
37+
# Or visit: https://neovim.io/
3438
```
3539

36-
### Step 2: Ensure Compilers are Installed
40+
### Step 2: Ensure Compilers and Build Tools are Installed
3741

3842
For C++:
3943

@@ -47,16 +51,27 @@ For Rust:
4751
rustc --version
4852
```
4953

54+
For Neovim plugins (CMake required):
55+
56+
```bash
57+
cmake --version
58+
```
59+
5060
If missing:
5161

5262
```bash
5363
# Ubuntu/Debian
54-
sudo apt install build-essential rustc
64+
sudo apt install build-essential rustc cmake
5565

5666
# macOS
57-
brew install gcc rust
67+
brew install gcc rust cmake
68+
69+
# Windows (PowerShell as Admin)
70+
choco install mingw rust cmake
5871
```
5972

73+
**Windows users:** CMake and MinGW are **required** for telescope-fzf-native plugin. See [WINDOWS_SETUP.md](WINDOWS_SETUP.md).
74+
6075
### Step 3: Make the CLI Tool Executable
6176

6277
```bash

MODE_VIM/CONFIG/init-learning.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ require("lazy").setup({
452452
-- Telescope FZF extension for speed
453453
{
454454
"nvim-telescope/telescope-fzf-native.nvim",
455-
build = "make",
455+
build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
456456
config = function()
457457
require("telescope").load_extension("fzf")
458458
end,

MODE_VIM/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
**Learn programming in a beautiful, professional Neovim environment.**
44

5+
> **🪟 Windows Users:** See **[WINDOWS_SETUP.md](WINDOWS_SETUP.md)** for complete installation guide including Chocolatey, CMake, and MinGW setup.
6+
57
---
68

79
## ✨ What You Get

0 commit comments

Comments
 (0)