colson-nvim
Version:
Colson Nvim: Neovim Code Editor/IDE for Software Engineers!
81 lines (54 loc) โข 1.67 kB
Markdown
# ๐ DEBUG TELESCOPE STARTUP
**Purpose:** Find out why Telescope isn't opening on startup
## ๐งช WHAT TO DO
### **Step 1: Start Neovim**
```bash
cd /tmp
nvim
```
### **Step 2: Wait and Watch**
Wait for 2 seconds and watch for messages at the bottom of the screen.
### **Step 3: Check Messages**
After 2 seconds, type:
```vim
:messages
```
## ๐ WHAT TO LOOK FOR
You should see these messages in order:
1. `Startup.lua loaded` โ Confirms file is loading
2. `VimEnter autocmd fired!` โ Confirms autocmd runs
3. `argc=0, args={}` โ Shows no arguments
4. `No args - will open Telescope` โ Confirms it should open
5. `Opening Telescope in 500ms...` โ Confirms it's scheduled
6. `Telescope available: true` โ Confirms Telescope loaded
7. `Calling telescope.find_files...` โ Confirms it's calling
## โ
IF YOU SEE ALL MESSAGES
Telescope should open! If messages appear but Telescope doesn't:
- Issue is in the telescope.find_files() call itself
- May need different approach
## โ IF MESSAGES ARE MISSING
**Missing "Startup.lua loaded":**
- startup.lua not being loaded
- Check init.lua is loading it
**Missing "VimEnter autocmd fired":**
- Autocmd not registering
- Lua syntax error
**Missing "No args - will open Telescope":**
- argc is not 0 (check the argc value)
- Logic issue
**Missing "Telescope available: true":**
- Telescope plugin not installed
- Run :PackerSync
## ๐ REPORT WHAT YOU SEE
After running `:messages`, tell me:
1. Which messages appear?
2. Which messages are missing?
3. Does Telescope open or not?
This will help me fix the exact issue!
**To test:** `nvim` then `:messages`