Commit 6d0a49d
committed
Split ctrlp#setlines() for ctrlp#init(). Fixes ctrlpvim#463
* Issue:
Opening "ctrlp" in certain modes (':CtrlPBufTag', ':CtrlPLine') seems to
trigger a partially deffective intialisation (for example, syntax
highlighting not working as expected).
* Changes:
ctrlp#setlines() has been split in two, as the second part (now in
s:setlines_post()) seems to need '&filetype', and s:DetectFileType()
seems to need the first part of the old ctrlp#setlines() (now in
s:setlines_pre()).1 parent ebc568c commit 6d0a49d
1 file changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2567 | 2567 | | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | | - | |
| 2570 | + | |
2571 | 2571 | | |
2572 | 2572 | | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
2573 | 2577 | | |
2574 | 2578 | | |
2575 | 2579 | | |
| |||
2578 | 2582 | | |
2579 | 2583 | | |
2580 | 2584 | | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
2581 | 2590 | | |
2582 | 2591 | | |
2583 | 2592 | | |
| |||
2632 | 2641 | | |
2633 | 2642 | | |
2634 | 2643 | | |
2635 | | - | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
2636 | 2652 | | |
| 2653 | + | |
2637 | 2654 | | |
2638 | 2655 | | |
2639 | 2656 | | |
| |||
0 commit comments