dblume commited on 2026-01-06 11:25:03
Showing 1 changed files, with 6 additions and 2 deletions.
Now we'll check if the directory exists, and if so add it to rtp.
| ... | ... |
@@ -453,8 +453,12 @@ let g:rainbow_conf = {
|
| 453 | 453 |
\ } |
| 454 | 454 |
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle |
| 455 | 455 |
|
| 456 |
-" fzf integration |
|
| 457 |
-"set rtp+=/opt/homebrew/opt/fzf |
|
| 456 |
+" fzf integration for :FZF, not :Files, etc. |
|
| 457 |
+if isdirectory(expand("~/.fzf"))
|
|
| 458 |
+ set rtp+=~/.fzf |
|
| 459 |
+elseif isdirectory("/opt/homebrew/opt/fzf")
|
|
| 460 |
+ set rtp+=/opt/homebrew/opt/fzf |
|
| 461 |
+endif |
|
| 458 | 462 |
|
| 459 | 463 |
" See https://wiki.dlma.com/neovim#cscope |
| 460 | 464 |
lua << EOF |
| 461 | 465 |